proto 135 arch/x86/lib/csum-wrappers_64.c rest = (__force __u64)htonl(len) + (__force __u64)htons(proto) + proto 673 fs/compat.c compat_int_t proto; proto 689 fs/compat.c real->proto = raw->proto; proto 88 fs/gfs2/locking.c if (!strcmp(lw->lw_ops->lm_proto_name, proto->lm_proto_name)) { proto 91 fs/gfs2/locking.c proto->lm_proto_name); proto 102 fs/gfs2/locking.c lw->lw_ops = proto; proto 123 fs/gfs2/locking.c if (!strcmp(lw->lw_ops->lm_proto_name, proto->lm_proto_name)) { proto 134 fs/gfs2/locking.c proto->lm_proto_name); proto 406 fs/gfs2/ops_fstype.c char *proto, *table; proto 409 fs/gfs2/ops_fstype.c proto = sdp->sd_args.ar_lockproto; proto 414 fs/gfs2/ops_fstype.c if (!proto[0] || !table[0]) { proto 423 fs/gfs2/ops_fstype.c if (!proto[0]) proto 424 fs/gfs2/ops_fstype.c proto = sdp->sd_sb.sb_lockproto; proto 432 fs/gfs2/ops_fstype.c strlcpy(sdp->sd_proto_name, proto, GFS2_FSNAME_LEN); proto 1008 fs/gfs2/ops_fstype.c char *proto = sdp->sd_proto_name; proto 1016 fs/gfs2/ops_fstype.c fs_info(sdp, "Trying to join cluster \"%s\", \"%s\"\n", proto, table); proto 1018 fs/gfs2/ops_fstype.c error = gfs2_mount_lockproto(proto, table, sdp->sd_args.ar_hostdata, proto 1024 fs/gfs2/ops_fstype.c proto, table, sdp->sd_args.ar_hostdata); proto 103 fs/nfs/client.c int proto; proto 143 fs/nfs/client.c clp->cl_proto = cl_init->proto; proto 339 fs/nfs/client.c if (clp->cl_proto != data->proto) proto 435 fs/nfs/client.c switch (proto) { proto 649 fs/nfs/client.c .proto = data->nfs_server.protocol, proto 1021 fs/nfs/client.c .proto = proto, proto 427 fs/nfs/nfsroot.c return rpcb_getport_sync(&sin, program, version, proto); proto 441 fs/nfs/nfsroot.c int proto; proto 455 fs/nfs/nfsroot.c proto = (nfs_data.flags & NFS_MOUNT_TCP) ? IPPROTO_TCP : IPPROTO_UDP; proto 458 fs/nfs/nfsroot.c if ((port = root_nfs_getport(NFS_PROGRAM, nfsd_ver, proto)) < 0) { proto 468 fs/nfs/nfsroot.c if ((port = root_nfs_getport(NFS_MNT_PROGRAM, mountd_ver, proto)) < 0) { proto 2239 fs/nfs/super.c args->nfs_server.protocol = data->proto; proto 126 fs/nfsd/nfscache.c u32 proto = rqstp->rq_prot, proto 145 fs/nfsd/nfscache.c proto == rp->c_prot && vers == rp->c_vers && proto 185 fs/nfsd/nfscache.c rp->c_prot = proto; proto 703 fs/ocfs2/dlm/dlmdomain.c struct dlm_protocol_version proto = *request; proto 705 fs/ocfs2/dlm/dlmdomain.c if (!dlm_protocol_compare(ours, &proto)) { proto 712 fs/ocfs2/dlm/dlmdomain.c proto.pv_major, proto.pv_minor); proto 713 fs/ocfs2/dlm/dlmdomain.c request->pv_minor = proto.pv_minor; proto 430 fs/ocfs2/dlm/dlmfs.c struct dlm_protocol_version proto = user_locking_protocol; proto 450 fs/ocfs2/dlm/dlmfs.c dlm = user_dlm_register_context(domain, &proto); proto 665 fs/ocfs2/dlm/userdlm.c dlm = dlm_register_domain(domain, dlm_key, proto); proto 220 fs/ocfs2/stackglue.c BUG_ON(proto == NULL); proto 225 fs/ocfs2/stackglue.c lproto = proto; proto 24 include/asm-cris/arch-v10/checksum.h : "0" (sum), "r" (daddr), "r" (saddr), "r" ((len + proto) << 8)); proto 24 include/asm-cris/arch-v32/checksum.h "r" ((len + proto) << 8)); proto 70 include/asm-cris/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 116 include/asm-frv/checksum.h : "r" (daddr), "r" (saddr), "r" (len + proto), "0"(sum) proto 126 include/asm-frv/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 173 include/asm-frv/checksum.h : "r" (saddr), "r" (daddr), "0" (sum), "2" (len + proto) proto 122 include/asm-m32r/checksum.h unsigned long len_proto = (proto + len) << 8; proto 124 include/asm-m32r/checksum.h unsigned long len_proto = proto + len; proto 152 include/asm-m32r/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 196 include/asm-m32r/checksum.h "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) proto 90 include/asm-m68k/checksum.h : "g" (daddr), "1" (saddr), "d" (len + proto), proto 104 include/asm-m68k/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 142 include/asm-m68k/checksum.h : "a" (saddr), "a" (daddr), "d" (len + proto), proto 49 include/asm-mn10300/checksum.h tmp += (__wsum) proto << 8; proto 73 include/asm-mn10300/checksum.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); proto 98 include/asm-parisc/checksum.h : "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum)); proto 111 include/asm-parisc/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 184 include/asm-parisc/checksum.h : "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto) proto 119 include/asm-x86/checksum_32.h "g" ((len + proto) << 8), "0" (sum)); proto 132 include/asm-x86/checksum_32.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); proto 164 include/asm-x86/checksum_32.h "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)); proto 96 include/asm-x86/checksum_64.h "g" ((len + proto)<<8), "0" (sum)); proto 116 include/asm-x86/checksum_64.h return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); proto 128 include/asm-xtensa/checksum.h unsigned long len_proto = (len + proto) << 8; proto 130 include/asm-xtensa/checksum.h unsigned long len_proto = len + proto; proto 160 include/asm-xtensa/checksum.h return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); proto 230 include/asm-xtensa/checksum.h "r" (htonl(len)), "r" (htonl(proto)), "0" (sum)); proto 225 include/linux/arcdevice.h struct ArcProto *proto; /* protocol driver that owns this: proto 44 include/linux/can/core.h struct proto *prot; proto 56 include/linux/hdlc.h const struct hdlc_proto *proto; proto 119 include/linux/hdlc.h if (hdlc->proto->type_trans) proto 120 include/linux/hdlc.h return hdlc->proto->type_trans(skb, dev); proto 60 include/linux/if_arcnet.h uint8_t proto; /* protocol ID field - varies */ proto 73 include/linux/if_arcnet.h uint8_t proto; /* ARC_P_RFC1051_ARP/RFC1051_IP */ proto 85 include/linux/if_arcnet.h uint8_t proto; /* Always ARC_P_ETHER */ proto 94 include/linux/if_arcnet.h uint8_t proto; proto 153 include/linux/if_pppox.h } proto; proto 156 include/linux/if_pppox.h #define pppoe_dev proto.pppoe.dev proto 157 include/linux/if_pppox.h #define pppoe_ifindex proto.pppoe.ifindex proto 158 include/linux/if_pppox.h #define pppoe_pa proto.pppoe.pa proto 159 include/linux/if_pppox.h #define pppoe_relay proto.pppoe.relay proto 67 include/linux/if_tun.h __be16 proto; proto 21 include/linux/ip6_tunnel.h __u8 proto; /* tunnel protocol */ proto 136 include/linux/isdn_ppp.h struct sk_buff *skb_out, int proto); proto 142 include/linux/isdn_ppp.h void (*incomp) (void *state, struct sk_buff *in,int proto); proto 212 include/linux/mod_devicetable.h __u8 proto; proto 343 include/linux/net.h MODULE_ALIAS("net-pf-" __stringify(proto)) proto 346 include/linux/net.h MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto)) proto 349 include/linux/net.h MODULE_ALIAS("net-pf-" __stringify(pf) "-proto-" __stringify(proto) \ proto 302 include/linux/netfilter/x_tables.h unsigned short proto; proto 341 include/linux/netfilter/x_tables.h unsigned short proto; proto 24 include/linux/netfilter/xt_policy.h proto:1, proto 59 include/linux/netfilter/xt_policy.h u_int8_t proto; proto 47 include/linux/netfilter_ipv4/ip_tables.h u_int16_t proto; proto 28 include/linux/netfilter_ipv4/ipt_ECN.h } proto; proto 30 include/linux/netfilter_ipv4/ipt_ecn.h } proto; proto 55 include/linux/netfilter_ipv6/ip6_tables.h u_int16_t proto; proto 51 include/linux/nfs4_mount.h int proto; /* 1 */ proto 379 include/linux/rtnetlink.h __u8 proto; proto 27 include/linux/xfrm.h __u8 proto; proto 59 include/linux/xfrm.h __u8 proto; proto 350 include/linux/xfrm.h __u8 proto; proto 411 include/linux/xfrm.h __u8 proto; proto 415 include/linux/xfrm.h __u8 proto; proto 433 include/linux/xfrm.h __u8 proto; proto 848 include/net/bluetooth/hci.h __u16 proto; proto 49 include/net/flow.h __u8 proto; proto 98 include/net/flow.h return (fl1->proto == fl2->proto && proto 95 include/net/garp.h struct stp_proto proto; proto 85 include/net/ip6_checksum.h uproto = (__force u32)htonl(proto); proto 122 include/net/netfilter/nf_conntrack.h union nf_conntrack_proto proto; proto 123 include/net/netfilter/nf_conntrack_l4proto.h ((net)->ct.sysctl_log_invalid == (proto) || \ proto 127 include/net/netfilter/nf_conntrack_l4proto.h (((net)->ct.sysctl_log_invalid == (proto) || \ proto 99 include/net/phonet/phonet.h struct proto *prot; proto 77 include/net/protocol.h struct proto *prot; proto 23 include/net/raw.h extern struct proto raw_prot; proto 28 include/net/request_sock.h struct proto; proto 157 include/net/route.h .proto = protocol, proto 191 include/net/route.h fl.proto = protocol; proto 574 include/net/sctp/sctp.h extern struct proto sctp_prot; proto 575 include/net/sctp/sctp.h extern struct proto sctpv6_prot; proto 99 include/net/sock.h struct proto; proto 127 include/net/sock.h struct proto *skc_prot; proto 251 include/net/sock.h struct proto *sk_prot_creator; proto 268 include/net/tcp.h extern struct proto tcp_prot; proto 12 include/net/transp_v6.h extern struct proto rawv6_prot; proto 13 include/net/transp_v6.h extern struct proto udpv6_prot; proto 14 include/net/transp_v6.h extern struct proto udplitev6_prot; proto 15 include/net/transp_v6.h extern struct proto tcpv6_prot; proto 66 include/net/udp.h extern struct proto udp_prot; proto 13 include/net/udplite.h extern struct proto udplite_prot; proto 38 include/net/xfrm.h MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto)) proto 125 include/net/xfrm.h u8 proto; proto 243 include/net/xfrm.h u32 proto; proto 288 include/net/xfrm.h unsigned int proto; proto 317 include/net/xfrm.h __u8 proto; proto 507 include/net/xfrm.h u8 proto; proto 540 include/net/xfrm.h int (*report)(u8 proto, struct xfrm_selector *sel, xfrm_address_t *addr); proto 792 include/net/xfrm.h switch(fl->proto) { proto 816 include/net/xfrm.h switch(fl->proto) { proto 1212 include/net/xfrm.h return (!userproto || proto == userproto || proto 1213 include/net/xfrm.h (userproto == IPSEC_PROTO_ANY && (proto == IPPROTO_AH || proto 1214 include/net/xfrm.h proto == IPPROTO_ESP || proto 1215 include/net/xfrm.h proto == IPPROTO_COMP))); proto 22 include/scsi/scsi_transport_sas.h return ((proto & SAS_PROTOCOL_SATA) || proto 23 include/scsi/scsi_transport_sas.h (proto & SAS_PROTOCOL_STP))? 1 : 0; proto 251 net/802/garp.c app->app->proto.group_address); proto 504 net/802/garp.c struct garp_application *appl = proto->data; proto 578 net/802/garp.c err = dev_mc_add(dev, appl->proto.group_address, ETH_ALEN, 0); proto 618 net/802/garp.c dev_mc_delete(dev, appl->proto.group_address, ETH_ALEN, 0); proto 626 net/802/garp.c appl->proto.rcv = garp_pdu_rcv; proto 627 net/802/garp.c appl->proto.data = appl; proto 628 net/802/garp.c return stp_proto_register(&appl->proto); proto 634 net/802/garp.c stp_proto_unregister(&appl->proto); proto 41 net/802/p8022.c struct datalink_proto *proto; proto 43 net/802/p8022.c proto = kmalloc(sizeof(*proto), GFP_ATOMIC); proto 44 net/802/p8022.c if (proto) { proto 45 net/802/p8022.c proto->type[0] = type; proto 46 net/802/p8022.c proto->header_length = 3; proto 47 net/802/p8022.c proto->request = p8022_request; proto 48 net/802/p8022.c proto->sap = llc_sap_open(type, func); proto 49 net/802/p8022.c if (!proto->sap) { proto 50 net/802/p8022.c kfree(proto); proto 51 net/802/p8022.c proto = NULL; proto 54 net/802/p8022.c return proto; proto 59 net/802/p8022.c llc_sap_put(proto->sap); proto 60 net/802/p8022.c kfree(proto); proto 43 net/802/p8023.c struct datalink_proto *proto = kmalloc(sizeof(*proto), GFP_ATOMIC); proto 45 net/802/p8023.c if (proto) { proto 46 net/802/p8023.c proto->header_length = 0; proto 47 net/802/p8023.c proto->request = p8023_request; proto 49 net/802/p8023.c return proto; proto 34 net/802/psnap.c struct datalink_proto *proto = NULL, *p; proto 38 net/802/psnap.c proto = p; proto 42 net/802/psnap.c return proto; proto 52 net/802/psnap.c struct datalink_proto *proto; proto 61 net/802/psnap.c proto = find_snap_client(skb_transport_header(skb)); proto 62 net/802/psnap.c if (proto) { proto 66 net/802/psnap.c rc = proto->rcvfunc(skb, dev, &snap_packet_type, orig_dev); proto 70 net/802/psnap.c if (unlikely(!proto)) proto 130 net/802/psnap.c struct datalink_proto *proto = NULL; proto 137 net/802/psnap.c proto = kmalloc(sizeof(*proto), GFP_ATOMIC); proto 138 net/802/psnap.c if (proto) { proto 139 net/802/psnap.c memcpy(proto->type, desc,5); proto 140 net/802/psnap.c proto->rcvfunc = rcvfunc; proto 141 net/802/psnap.c proto->header_length = 5 + 3; /* snap + 802.2 */ proto 142 net/802/psnap.c proto->request = snap_request; proto 143 net/802/psnap.c list_add_rcu(&proto->node, &snap_list); proto 149 net/802/psnap.c return proto; proto 158 net/802/psnap.c list_del_rcu(&proto->node); proto 163 net/802/psnap.c kfree(proto); proto 36 net/802/stp.c const struct stp_proto *proto; proto 44 net/802/stp.c proto = rcu_dereference(garp_protos[eh->h_dest[5] - proto 46 net/802/stp.c if (proto && proto 47 net/802/stp.c compare_ether_addr(eh->h_dest, proto->group_address)) proto 50 net/802/stp.c proto = rcu_dereference(stp_proto); proto 52 net/802/stp.c if (!proto) proto 55 net/802/stp.c proto->rcv(proto, skb, dev); proto 75 net/802/stp.c if (is_zero_ether_addr(proto->group_address)) proto 76 net/802/stp.c rcu_assign_pointer(stp_proto, proto); proto 78 net/802/stp.c rcu_assign_pointer(garp_protos[proto->group_address[5] - proto 79 net/802/stp.c GARP_ADDR_MIN], proto); proto 89 net/802/stp.c if (is_zero_ether_addr(proto->group_address)) proto 92 net/802/stp.c rcu_assign_pointer(garp_protos[proto->group_address[5] - proto 86 net/8021q/vlan_dev.c __be16 proto; proto 94 net/8021q/vlan_dev.c proto = vhdr->h_vlan_encapsulated_proto; proto 95 net/8021q/vlan_dev.c if (ntohs(proto) >= 1536) { proto 96 net/8021q/vlan_dev.c skb->protocol = proto; proto 25 net/8021q/vlan_gvrp.c .proto.group_address = GARP_GVRP_ADDRESS, proto 1021 net/appletalk/ddp.c static struct proto ddp_proto = { proto 122 net/atm/common.c static struct proto vcc_proto = { proto 257 net/ax25/af_ax25.c s->sk->sk_protocol == proto && proto 790 net/ax25/af_ax25.c static struct proto ax25_proto = { proto 126 net/ax25/ax25_timer.c int proto = AX25_PROTO_STD_SIMPLEX; proto 130 net/ax25/ax25_timer.c proto = ax25->ax25_dev->values[AX25_VALUES_PROTOCOL]; proto 132 net/ax25/ax25_timer.c switch (proto) { proto 87 net/bluetooth/af_bluetooth.c if (proto < 0 || proto >= BT_MAX_PROTO) proto 92 net/bluetooth/af_bluetooth.c if (bt_proto[proto]) proto 95 net/bluetooth/af_bluetooth.c bt_proto[proto] = ops; proto 107 net/bluetooth/af_bluetooth.c if (proto < 0 || proto >= BT_MAX_PROTO) proto 112 net/bluetooth/af_bluetooth.c if (!bt_proto[proto]) proto 115 net/bluetooth/af_bluetooth.c bt_proto[proto] = NULL; proto 132 net/bluetooth/af_bluetooth.c bt_slock_key_strings[proto], proto 133 net/bluetooth/af_bluetooth.c &bt_slock_key[proto], proto 134 net/bluetooth/af_bluetooth.c bt_key_strings[proto], proto 135 net/bluetooth/af_bluetooth.c &bt_lock_key[proto]); proto 145 net/bluetooth/af_bluetooth.c if (proto < 0 || proto >= BT_MAX_PROTO) proto 149 net/bluetooth/af_bluetooth.c if (!bt_proto[proto]) { proto 150 net/bluetooth/af_bluetooth.c request_module("bt-proto-%d", proto); proto 158 net/bluetooth/af_bluetooth.c if (bt_proto[proto] && try_module_get(bt_proto[proto]->owner)) { proto 159 net/bluetooth/af_bluetooth.c err = bt_proto[proto]->create(net, sock, proto); proto 160 net/bluetooth/af_bluetooth.c bt_reclassify_sock_lock(sock, proto); proto 161 net/bluetooth/af_bluetooth.c module_put(bt_proto[proto]->owner); proto 157 net/bluetooth/bnep/netdev.c u16 proto = ntohs(eh->h_proto); proto 159 net/bluetooth/bnep/netdev.c if (proto >= 1536) proto 160 net/bluetooth/bnep/netdev.c return proto; proto 170 net/bluetooth/bnep/netdev.c u16 proto = bnep_net_eth_proto(skb); proto 175 net/bluetooth/bnep/netdev.c if (proto >= f[i].start && proto <= f[i].end) proto 179 net/bluetooth/bnep/netdev.c BT_DBG("BNEP: filtered skb %p, proto 0x%.4x", skb, proto); proto 197 net/bluetooth/bnep/sock.c static struct proto bnep_proto = { proto 192 net/bluetooth/cmtp/sock.c static struct proto cmtp_proto = { proto 623 net/bluetooth/hci_sock.c static struct proto hci_sk_proto = { proto 243 net/bluetooth/hidp/sock.c static struct proto hidp_proto = { proto 675 net/bluetooth/l2cap.c static struct proto l2cap_proto = { proto 697 net/bluetooth/l2cap.c sk->sk_protocol = proto; proto 277 net/bluetooth/rfcomm/sock.c static struct proto rfcomm_proto = { proto 315 net/bluetooth/rfcomm/sock.c sk->sk_protocol = proto; proto 412 net/bluetooth/sco.c static struct proto sco_proto = { proto 434 net/bluetooth/sco.c sk->sk_protocol = proto; proto 346 net/bridge/br_netfilter.c .proto = 0, proto 668 net/can/af_can.c int proto = cp->protocol; proto 671 net/can/af_can.c if (proto < 0 || proto >= CAN_NPROTO) { proto 673 net/can/af_can.c proto); proto 682 net/can/af_can.c if (proto_tab[proto]) { proto 684 net/can/af_can.c proto); proto 687 net/can/af_can.c proto_tab[proto] = cp; proto 708 net/can/af_can.c int proto = cp->protocol; proto 711 net/can/af_can.c if (!proto_tab[proto]) { proto 713 net/can/af_can.c proto); proto 715 net/can/af_can.c proto_tab[proto] = NULL; proto 1534 net/can/bcm.c static struct proto bcm_proto __read_mostly = { proto 726 net/can/raw.c static struct proto raw_proto __read_mostly = { proto 473 net/core/netpoll.c int proto, len, ulen; proto 491 net/core/netpoll.c proto = ntohs(eth_hdr(skb)->h_proto); proto 492 net/core/netpoll.c if (proto != ETH_P_IP) proto 1431 net/core/sock.c struct proto *prot = sk->sk_prot; proto 1502 net/core/sock.c struct proto *prot = sk->sk_prot; proto 2174 net/core/sock.c proto->name, proto 2175 net/core/sock.c proto->obj_size, proto 2176 net/core/sock.c proto->sockets_allocated != NULL ? atomic_read(proto->sockets_allocated) : -1, proto 2177 net/core/sock.c proto->memory_allocated != NULL ? atomic_read(proto->memory_allocated) : -1, proto 2178 net/core/sock.c proto->memory_pressure != NULL ? *proto->memory_pressure ? "yes" : "no" : "NI", proto 2179 net/core/sock.c proto->max_header, proto 2180 net/core/sock.c proto->slab == NULL ? "no" : "yes", proto 2181 net/core/sock.c module_name(proto->owner), proto 2182 net/core/sock.c proto_method_implemented(proto->close), proto 2183 net/core/sock.c proto_method_implemented(proto->connect), proto 2184 net/core/sock.c proto_method_implemented(proto->disconnect), proto 2185 net/core/sock.c proto_method_implemented(proto->accept), proto 2186 net/core/sock.c proto_method_implemented(proto->ioctl), proto 2187 net/core/sock.c proto_method_implemented(proto->init), proto 2188 net/core/sock.c proto_method_implemented(proto->destroy), proto 2189 net/core/sock.c proto_method_implemented(proto->shutdown), proto 2190 net/core/sock.c proto_method_implemented(proto->setsockopt), proto 2191 net/core/sock.c proto_method_implemented(proto->getsockopt), proto 2192 net/core/sock.c proto_method_implemented(proto->sendmsg), proto 2193 net/core/sock.c proto_method_implemented(proto->recvmsg), proto 2194 net/core/sock.c proto_method_implemented(proto->sendpage), proto 2195 net/core/sock.c proto_method_implemented(proto->bind), proto 2196 net/core/sock.c proto_method_implemented(proto->backlog_rcv), proto 2197 net/core/sock.c proto_method_implemented(proto->hash), proto 2198 net/core/sock.c proto_method_implemented(proto->unhash), proto 2199 net/core/sock.c proto_method_implemented(proto->get_port), proto 2200 net/core/sock.c proto_method_implemented(proto->enter_memory_pressure)); proto 2217 net/core/sock.c proto_seq_printf(seq, list_entry(v, struct proto, node)); proto 460 net/dccp/ipv4.c .proto = sk->sk_protocol, proto 919 net/dccp/ipv4.c static struct proto dccp_v4_prot = { proto 157 net/dccp/ipv6.c fl.proto = IPPROTO_DCCP; proto 256 net/dccp/ipv6.c fl.proto = IPPROTO_DCCP; proto 337 net/dccp/ipv6.c fl.proto = IPPROTO_DCCP; proto 549 net/dccp/ipv6.c fl.proto = IPPROTO_DCCP; proto 982 net/dccp/ipv6.c fl.proto = IPPROTO_DCCP; proto 1119 net/dccp/ipv6.c static struct proto dccp_v6_prot = { proto 461 net/decnet/af_decnet.c static struct proto dn_proto = { proto 954 net/decnet/af_decnet.c fl.proto = DNPROTO_NSP; proto 98 net/decnet/dn_nsp_out.c fl.proto = DNPROTO_NSP; proto 1187 net/decnet/dn_route.c if (err == 0 && flp->proto) { proto 1198 net/decnet/dn_route.c if (err == 0 && fl->proto) { proto 1528 net/decnet/dn_route.c fl.proto = DNPROTO_NSP; proto 338 net/econet/af_econet.c unsigned short proto = 0; proto 359 net/econet/af_econet.c res = dev_hard_header(skb, dev, ntohs(proto), &addr, NULL, len); proto 377 net/econet/af_econet.c skb->protocol = proto; proto 599 net/econet/af_econet.c static struct proto econet_proto = { proto 21 net/ethernet/pe2.c struct datalink_proto *proto = kmalloc(sizeof(*proto), GFP_ATOMIC); proto 23 net/ethernet/pe2.c if (proto) { proto 24 net/ethernet/pe2.c proto->header_length = 0; proto 25 net/ethernet/pe2.c proto->request = pEII_request; proto 28 net/ethernet/pe2.c return proto; proto 269 net/ipv4/af_inet.c struct proto *answer_prot; proto 1119 net/ipv4/af_inet.c .proto = sk->sk_protocol, proto 1156 net/ipv4/af_inet.c int proto; proto 1174 net/ipv4/af_inet.c proto = iph->protocol & (MAX_INET_PROTOS - 1); proto 1178 net/ipv4/af_inet.c ops = rcu_dereference(inet_protos[proto]); proto 1192 net/ipv4/af_inet.c int proto; proto 1222 net/ipv4/af_inet.c proto = iph->protocol & (MAX_INET_PROTOS - 1); proto 1226 net/ipv4/af_inet.c ops = rcu_dereference(inet_protos[proto]); proto 307 net/ipv4/ah4.c .proto = IPPROTO_AH, proto 608 net/ipv4/esp4.c .proto = IPPROTO_ESP, proto 388 net/ipv4/icmp.c .proto = IPPROTO_ICMP }; proto 547 net/ipv4/icmp.c .proto = IPPROTO_ICMP, proto 302 net/ipv4/igmp.c .proto = IPPROTO_IGMP }; proto 647 net/ipv4/igmp.c .proto = IPPROTO_IGMP }; proto 2255 net/ipv4/igmp.c if (im && proto == IPPROTO_IGMP) { proto 339 net/ipv4/inet_connection_sock.c .proto = sk->sk_protocol, proto 694 net/ipv4/ip_gre.c .proto = IPPROTO_GRE }; proto 867 net/ipv4/ip_gre.c .proto = IPPROTO_GRE }; proto 1128 net/ipv4/ip_gre.c .proto = IPPROTO_GRE }; proto 342 net/ipv4/ip_output.c .proto = sk->sk_protocol, proto 1375 net/ipv4/ip_output.c .proto = sk->sk_protocol, proto 56 net/ipv4/ipcomp.c t->id.proto = IPPROTO_IPIP; proto 142 net/ipv4/ipcomp.c .proto = IPPROTO_COMP, proto 432 net/ipv4/ipip.c .proto = IPPROTO_IPIP }; proto 552 net/ipv4/ipip.c .proto = IPPROTO_IPIP }; proto 1222 net/ipv4/ipmr.c .proto = IPPROTO_IPIP }; proto 1231 net/ipv4/ipmr.c .proto = IPPROTO_IPIP }; proto 138 net/ipv4/netfilter/ip_tables.c if (ipinfo->proto proto 139 net/ipv4/netfilter/ip_tables.c && FWINV(ip->protocol != ipinfo->proto, IPT_INV_PROTO)) { proto 141 net/ipv4/netfilter/ip_tables.c ip->protocol, ipinfo->proto, proto 622 net/ipv4/netfilter/ip_tables.c ip->proto, ip->invflags & IPT_INV_PROTO); proto 672 net/ipv4/netfilter/ip_tables.c e->ip.proto, e->ip.invflags & IPT_INV_PROTO); proto 2212 net/ipv4/netfilter/ip_tables.c .proto = IPPROTO_ICMP, proto 59 net/ipv4/netfilter/ipt_ECN.c tcph->ece == einfo->proto.tcp.ece) && proto 61 net/ipv4/netfilter/ipt_ECN.c tcph->cwr == einfo->proto.tcp.cwr)) proto 70 net/ipv4/netfilter/ipt_ECN.c tcph->ece = einfo->proto.tcp.ece; proto 72 net/ipv4/netfilter/ipt_ECN.c tcph->cwr = einfo->proto.tcp.cwr; proto 112 net/ipv4/netfilter/ipt_ECN.c && (e->ip.proto != IPPROTO_TCP || (e->ip.invflags & XT_INV_PROTO))) { proto 188 net/ipv4/netfilter/ipt_REJECT.c if (e->ip.proto != IPPROTO_TCP proto 81 net/ipv4/netfilter/ipt_ah.c .proto = IPPROTO_AH, proto 100 net/ipv4/netfilter/ipt_ecn.c && ip->proto != IPPROTO_TCP) { proto 90 net/ipv4/netfilter/nf_conntrack_proto_icmp.c if (atomic_dec_and_test(&ct->proto.icmp.count)) proto 93 net/ipv4/netfilter/nf_conntrack_proto_icmp.c atomic_inc(&ct->proto.icmp.count); proto 120 net/ipv4/netfilter/nf_conntrack_proto_icmp.c atomic_set(&ct->proto.icmp.count, 0); proto 109 net/ipv4/netfilter/nf_nat_core.c const struct nf_nat_protocol *proto; proto 121 net/ipv4/netfilter/nf_nat_core.c proto = __nf_nat_proto_find(tuple->dst.protonum); proto 123 net/ipv4/netfilter/nf_nat_core.c proto->in_range(tuple, IP_NAT_MANIP_SRC, proto 233 net/ipv4/netfilter/nf_nat_core.c const struct nf_nat_protocol *proto; proto 260 net/ipv4/netfilter/nf_nat_core.c proto = __nf_nat_proto_find(orig_tuple->dst.protonum); proto 264 net/ipv4/netfilter/nf_nat_core.c proto->unique_tuple(tuple, range, maniptype, ct); proto 270 net/ipv4/netfilter/nf_nat_core.c proto->in_range(tuple, maniptype, &range->min, &range->max)) && proto 275 net/ipv4/netfilter/nf_nat_core.c proto->unique_tuple(tuple, range, maniptype, ct); proto 371 net/ipv4/netfilter/nf_nat_core.c p = __nf_nat_proto_find(proto); proto 526 net/ipv4/netfilter/nf_nat_core.c if (nf_nat_protos[proto->protonum] != &nf_nat_unknown_protocol) { proto 530 net/ipv4/netfilter/nf_nat_core.c rcu_assign_pointer(nf_nat_protos[proto->protonum], proto); proto 541 net/ipv4/netfilter/nf_nat_core.c rcu_assign_pointer(nf_nat_protos[proto->protonum], proto 408 net/ipv4/raw.c switch (fl->proto) { proto 543 net/ipv4/raw.c .proto = inet->hdrincl ? IPPROTO_RAW : proto 825 net/ipv4/raw.c struct proto raw_prot = { proto 2226 net/ipv4/route.c oldflp->proto)) proto 2633 net/ipv4/route.c if (flp->proto) { proto 341 net/ipv4/syncookies.c .proto = IPPROTO_TCP, proto 2353 net/ipv4/tcp_ipv4.c struct proto tcp_prot = { proto 634 net/ipv4/udp.c .proto = sk->sk_protocol, proto 1123 net/ipv4/udp.c if (proto == IPPROTO_UDPLITE) { proto 1134 net/ipv4/udp.c proto, skb->csum)) proto 1139 net/ipv4/udp.c skb->len, proto, 0); proto 1172 net/ipv4/udp.c if (proto == IPPROTO_UDP) { proto 1179 net/ipv4/udp.c if (udp4_csum_init(skb, uh, proto)) proto 1208 net/ipv4/udp.c UDP_INC_STATS_BH(net, UDP_MIB_NOPORTS, proto == IPPROTO_UDPLITE); proto 1220 net/ipv4/udp.c proto == IPPROTO_UDPLITE ? "-Lite" : "", proto 1235 net/ipv4/udp.c proto == IPPROTO_UDPLITE ? "-Lite" : "", proto 1242 net/ipv4/udp.c UDP_INC_STATS_BH(net, UDP_MIB_INERRORS, proto == IPPROTO_UDPLITE); proto 1469 net/ipv4/udp.c struct proto udp_prot = { proto 34 net/ipv4/udplite.c struct proto udplite_prot = { proto 182 net/ipv4/xfrm4_policy.c fl->proto = iph->protocol; proto 38 net/ipv4/xfrm4_state.c x->sel.proto = fl->proto; proto 69 net/ipv4/xfrm4_state.c .proto = IPPROTO_IPIP, proto 44 net/ipv4/xfrm4_tunnel.c .proto = IPPROTO_IPIP, proto 88 net/ipv6/af_inet6.c struct proto *answer_prot; proto 616 net/ipv6/af_inet6.c fl.proto = sk->sk_protocol; proto 684 net/ipv6/af_inet6.c if (proto != NEXTHDR_HOP) { proto 685 net/ipv6/af_inet6.c ops = rcu_dereference(inet6_protos[proto]); proto 703 net/ipv6/af_inet6.c proto = opth->nexthdr; proto 522 net/ipv6/ah6.c .proto = IPPROTO_AH, proto 146 net/ipv6/datagram.c fl.proto = sk->sk_protocol; proto 550 net/ipv6/esp6.c .proto = IPPROTO_ESP, proto 694 net/ipv6/exthdrs.c phdr->rt_hdr.nexthdr = *proto; proto 695 net/ipv6/exthdrs.c *proto = NEXTHDR_ROUTING; proto 703 net/ipv6/exthdrs.c h->nexthdr = *proto; proto 704 net/ipv6/exthdrs.c *proto = type; proto 712 net/ipv6/exthdrs.c ipv6_push_rthdr(skb, proto, opt->srcrt, daddr); proto 718 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst0opt); proto 721 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_HOP, opt->hopopt); proto 729 net/ipv6/exthdrs.c ipv6_push_exthdr(skb, proto, NEXTHDR_DEST, opt->dst1opt); proto 240 net/ipv6/icmp.c len, fl->proto, proto 253 net/ipv6/icmp.c len, fl->proto, proto 389 net/ipv6/icmp.c fl.proto = IPPROTO_ICMPV6; proto 536 net/ipv6/icmp.c fl.proto = IPPROTO_ICMPV6; proto 790 net/ipv6/icmp.c fl->proto = IPPROTO_ICMPV6; proto 191 net/ipv6/inet6_connection_sock.c fl.proto = sk->sk_protocol; proto 205 net/ipv6/ip6_output.c u8 proto = fl->proto; proto 234 net/ipv6/ip6_output.c ipv6_push_frag_opts(skb, opt, &proto); proto 236 net/ipv6/ip6_output.c ipv6_push_nfrag_opts(skb, opt, &proto, &first_hop); proto 266 net/ipv6/ip6_output.c hdr->nexthdr = proto; proto 321 net/ipv6/ip6_output.c hdr->nexthdr = proto; proto 1432 net/ipv6/ip6_output.c unsigned char proto = fl->proto; proto 1461 net/ipv6/ip6_output.c ipv6_push_frag_opts(skb, opt, &proto); proto 1463 net/ipv6/ip6_output.c ipv6_push_nfrag_opts(skb, opt, &proto, &final_dst); proto 1473 net/ipv6/ip6_output.c hdr->nexthdr = proto; proto 1482 net/ipv6/ip6_output.c if (proto == IPPROTO_ICMPV6) { proto 417 net/ipv6/ip6_tunnel.c if (t->parms.proto != ipproto && t->parms.proto != 0) proto 545 net/ipv6/ip6_tunnel.c fl.proto = IPPROTO_IPIP; proto 701 net/ipv6/ip6_tunnel.c if (t->parms.proto != ipproto && t->parms.proto != 0) { proto 857 net/ipv6/ip6_tunnel.c u8 proto; proto 917 net/ipv6/ip6_tunnel.c proto = fl->proto; proto 920 net/ipv6/ip6_tunnel.c ipv6_push_nfrag_opts(skb, &opt.ops, &proto, NULL); proto 929 net/ipv6/ip6_tunnel.c ipv6h->nexthdr = proto; proto 964 net/ipv6/ip6_tunnel.c if ((t->parms.proto != IPPROTO_IPIP && t->parms.proto != 0) || proto 972 net/ipv6/ip6_tunnel.c fl.proto = IPPROTO_IPIP; proto 1004 net/ipv6/ip6_tunnel.c if ((t->parms.proto != IPPROTO_IPV6 && t->parms.proto != 0) || proto 1022 net/ipv6/ip6_tunnel.c fl.proto = IPPROTO_IPV6; proto 1169 net/ipv6/ip6_tunnel.c t->parms.proto = p->proto; proto 1237 net/ipv6/ip6_tunnel.c if (p.proto != IPPROTO_IPV6 && p.proto != IPPROTO_IPIP && proto 1238 net/ipv6/ip6_tunnel.c p.proto != 0) proto 1376 net/ipv6/ip6_tunnel.c t->parms.proto = IPPROTO_IPV6; proto 83 net/ipv6/ipcomp6.c t->id.proto = IPPROTO_IPV6; proto 173 net/ipv6/ipcomp6.c .proto = IPPROTO_COMP, proto 205 net/ipv6/ipv6_sockglue.c struct proto *prot = &udp_prot; proto 215 net/ipv6/mip6.c if (unlikely(fl->proto == IPPROTO_MH && proto 241 net/ipv6/mip6.c sel.proto = fl->proto; proto 337 net/ipv6/mip6.c .proto = IPPROTO_DSTOPTS, proto 469 net/ipv6/mip6.c .proto = IPPROTO_ROUTING, proto 168 net/ipv6/netfilter/ip6_tables.c ip6info->proto); proto 170 net/ipv6/netfilter/ip6_tables.c if (ip6info->proto == protohdr) { proto 178 net/ipv6/netfilter/ip6_tables.c if ((ip6info->proto != 0) && proto 646 net/ipv6/netfilter/ip6_tables.c ipv6->proto, ipv6->invflags & IP6T_INV_PROTO); proto 697 net/ipv6/netfilter/ip6_tables.c e->ipv6.proto, e->ipv6.invflags & IP6T_INV_PROTO); proto 2237 net/ipv6/netfilter/ip6_tables.c .proto = IPPROTO_ICMPV6, proto 47 net/ipv6/netfilter/ip6t_REJECT.c u8 proto; proto 56 net/ipv6/netfilter/ip6t_REJECT.c proto = oip6h->nexthdr; proto 57 net/ipv6/netfilter/ip6t_REJECT.c tcphoff = ipv6_skip_exthdr(oldskb, ((u8*)(oip6h+1) - oldskb->data), &proto); proto 67 net/ipv6/netfilter/ip6t_REJECT.c if (proto != IPPROTO_TCP || otcplen < sizeof(struct tcphdr)) { proto 70 net/ipv6/netfilter/ip6t_REJECT.c proto, otcplen); proto 91 net/ipv6/netfilter/ip6t_REJECT.c fl.proto = IPPROTO_TCP; proto 226 net/ipv6/netfilter/ip6t_REJECT.c if (e->ipv6.proto != IPPROTO_TCP proto 84 net/ipv6/netfilter/ip6t_mh.c .proto = IPPROTO_MH, proto 92 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c if (atomic_dec_and_test(&ct->proto.icmp.count)) proto 95 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c atomic_inc(&ct->proto.icmp.count); proto 120 net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c atomic_set(&ct->proto.icmp.count, 0); proto 589 net/ipv6/raw.c total_len, fl->proto, tmp_csum); proto 591 net/ipv6/raw.c if (csum == 0 && fl->proto == IPPROTO_UDP) proto 676 net/ipv6/raw.c switch (fl->proto) { proto 736 net/ipv6/raw.c u16 proto; proto 764 net/ipv6/raw.c proto = ntohs(sin6->sin6_port); proto 766 net/ipv6/raw.c if (!proto) proto 767 net/ipv6/raw.c proto = inet->num; proto 768 net/ipv6/raw.c else if (proto != inet->num) proto 771 net/ipv6/raw.c if (proto > 255) proto 801 net/ipv6/raw.c proto = inet->num; proto 833 net/ipv6/raw.c fl.proto = proto; proto 1193 net/ipv6/raw.c struct proto rawv6_prot = { proto 765 net/ipv6/route.c .proto = iph->nexthdr, proto 619 net/ipv6/sit.c .proto = IPPROTO_IPV6 }; proto 747 net/ipv6/sit.c .proto = IPPROTO_IPV6 }; proto 243 net/ipv6/syncookies.c fl.proto = IPPROTO_TCP; proto 240 net/ipv6/tcp_ipv6.c fl.proto = IPPROTO_TCP; proto 380 net/ipv6/tcp_ipv6.c fl.proto = IPPROTO_TCP; proto 473 net/ipv6/tcp_ipv6.c fl.proto = IPPROTO_TCP; proto 1012 net/ipv6/tcp_ipv6.c fl.proto = IPPROTO_TCP; proto 1301 net/ipv6/tcp_ipv6.c fl.proto = IPPROTO_TCP; proto 2020 net/ipv6/tcp_ipv6.c struct proto tcpv6_prot = { proto 424 net/ipv6/udp.c if (proto == IPPROTO_UDPLITE) { proto 439 net/ipv6/udp.c skb->len, proto, skb->csum)) proto 445 net/ipv6/udp.c skb->len, proto, 0)); proto 471 net/ipv6/udp.c if (proto == IPPROTO_UDP) { proto 490 net/ipv6/udp.c if (udp6_csum_init(skb, uh, proto)) proto 515 net/ipv6/udp.c proto == IPPROTO_UDPLITE); proto 536 net/ipv6/udp.c proto == IPPROTO_UDPLITE ? "-Lite" : "", proto 540 net/ipv6/udp.c UDP6_INC_STATS_BH(net, UDP_MIB_INERRORS, proto == IPPROTO_UDPLITE); proto 601 net/ipv6/udp.c up->len, fl->proto, csum ); proto 777 net/ipv6/udp.c fl.proto = sk->sk_protocol; proto 1032 net/ipv6/udp.c struct proto udpv6_prot = { proto 34 net/ipv6/udplite.c struct proto udplitev6_prot = { proto 103 net/ipv6/xfrm6_input.c x = xfrm_state_lookup_byaddr(dst, src, proto, AF_INET6); proto 181 net/ipv6/xfrm6_policy.c fl->proto = nexthdr; proto 191 net/ipv6/xfrm6_policy.c fl->proto = nexthdr; proto 202 net/ipv6/xfrm6_policy.c fl->proto = nexthdr; proto 212 net/ipv6/xfrm6_policy.c fl->proto = nexthdr; proto 39 net/ipv6/xfrm6_state.c x->sel.proto = fl->proto; proto 94 net/ipv6/xfrm6_state.c if (v->id.proto != IPPROTO_AH) proto 168 net/ipv6/xfrm6_state.c .proto = IPPROTO_IPV6, proto 326 net/ipv6/xfrm6_tunnel.c .proto = IPPROTO_IPV6, proto 1348 net/ipx/af_ipx.c static struct proto ipx_proto = { proto 1054 net/irda/af_irda.c static struct proto irda_proto = { proto 825 net/irda/irnet/irnet_ppp.c int proto; /* PPP protocol */ proto 834 net/irda/irnet/irnet_ppp.c proto = (data[0] << 8) + data[1]; proto 839 net/irda/irnet/irnet_ppp.c islcp = (proto == PPP_LCP) && (1 <= data[2]) && (data[2] <= 7); proto 38 net/iucv/af_iucv.c static struct proto iucv_proto = { proto 231 net/iucv/af_iucv.c sk->sk_protocol = proto; proto 166 net/key/af_key.c static struct proto key_proto = { proto 581 net/key/af_key.c switch (proto) { proto 601 net/key/af_key.c return (proto == IPSEC_PROTO_ANY ? 0 : proto); proto 606 net/key/af_key.c return (proto ? proto : IPSEC_PROTO_ANY); proto 652 net/key/af_key.c uint16_t proto; proto 660 net/key/af_key.c proto = pfkey_satype2proto(hdr->sadb_msg_satype); proto 661 net/key/af_key.c if (proto == 0) proto 686 net/key/af_key.c return xfrm_state_lookup(xaddr, sa->sadb_sa_spi, proto, family); proto 953 net/key/af_key.c pfkey_proto_from_xfrm(x->sel.proto); proto 1069 net/key/af_key.c uint16_t proto; proto 1088 net/key/af_key.c proto = pfkey_satype2proto(hdr->sadb_msg_satype); proto 1089 net/key/af_key.c if (proto == 0) proto 1129 net/key/af_key.c x->id.proto = proto; proto 1311 net/key/af_key.c u8 proto; proto 1319 net/key/af_key.c proto = pfkey_satype2proto(hdr->sadb_msg_satype); proto 1320 net/key/af_key.c if (proto == 0) proto 1359 net/key/af_key.c x = xfrm_find_acq(mode, reqid, proto, xdaddr, xsaddr, 1, family); proto 1384 net/key/af_key.c out_hdr->sadb_msg_satype = pfkey_proto2satype(proto); proto 1473 net/key/af_key.c hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto); proto 1565 net/key/af_key.c __u8 proto; proto 1580 net/key/af_key.c proto = x->id.proto; proto 1588 net/key/af_key.c out_hdr->sadb_msg_satype = pfkey_proto2satype(proto); proto 1708 net/key/af_key.c hdr->sadb_msg_satype = pfkey_proto2satype(c->data.proto); proto 1723 net/key/af_key.c unsigned proto; proto 1728 net/key/af_key.c proto = pfkey_satype2proto(hdr->sadb_msg_satype); proto 1729 net/key/af_key.c if (proto == 0) proto 1735 net/key/af_key.c err = xfrm_state_flush(proto, &audit_info); proto 1738 net/key/af_key.c c.data.proto = proto; proto 1763 net/key/af_key.c out_hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto); proto 1789 net/key/af_key.c u8 proto; proto 1795 net/key/af_key.c proto = pfkey_satype2proto(hdr->sadb_msg_satype); proto 1796 net/key/af_key.c if (proto == 0) proto 1803 net/key/af_key.c xfrm_state_walk_init(&pfk->dump.u.state, proto); proto 1869 net/key/af_key.c t->id.proto = rq->sadb_x_ipsecrequest_proto; /* XXX check proto */ proto 1997 net/key/af_key.c addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); proto 2013 net/key/af_key.c addr->sadb_address_proto = pfkey_proto_from_xfrm(xp->selector.proto); proto 2084 net/key/af_key.c rq->sadb_x_ipsecrequest_proto = t->id.proto; proto 2194 net/key/af_key.c xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2206 net/key/af_key.c xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2302 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2310 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2450 net/key/af_key.c m->proto = rq1->sadb_x_ipsecrequest_proto; proto 2507 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2516 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); proto 2933 net/key/af_key.c out_hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto); proto 3024 net/key/af_key.c if (x->id.proto == IPPROTO_AH) proto 3026 net/key/af_key.c else if (x->id.proto == IPPROTO_ESP) proto 3041 net/key/af_key.c hdr->sadb_msg_satype = pfkey_proto2satype(x->id.proto); proto 3088 net/key/af_key.c if (x->id.proto == IPPROTO_AH) proto 3090 net/key/af_key.c else if (x->id.proto == IPPROTO_ESP) proto 3205 net/key/af_key.c __u8 satype = (x->id.proto == IPPROTO_ESP ? SADB_SATYPE_ESP : 0); proto 3314 net/key/af_key.c addr->sadb_address_proto = sel->proto; proto 3379 net/key/af_key.c rq->sadb_x_ipsecrequest_proto = proto; proto 3448 net/key/af_key.c hdr->sadb_msg_satype = pfkey_proto2satype(m->proto); proto 3479 net/key/af_key.c if (set_ipsecrequest(skb, mp->proto, mode, proto 3486 net/key/af_key.c if (set_ipsecrequest(skb, mp->proto, mode, proto 136 net/llc/af_llc.c static struct proto llc_proto = { proto 72 net/netfilter/ipvs/ip_vs_app.c if (!(pp = ip_vs_proto_get(proto))) proto 173 net/netfilter/ipvs/ip_vs_app.c result = ip_vs_app_inc_new(app, proto, port); proto 124 net/netfilter/ipvs/ip_vs_conn.c (__force u32)port, proto, ip_vs_conn_rnd) proto 127 net/netfilter/ipvs/ip_vs_conn.c return jhash_3words((__force u32)addr->ip, (__force u32)port, proto, proto 685 net/netfilter/ipvs/ip_vs_conn.c struct ip_vs_protocol *pp = ip_vs_proto_get(proto); proto 696 net/netfilter/ipvs/ip_vs_conn.c cp->protocol = proto; proto 74 net/netfilter/ipvs/ip_vs_core.c switch (proto) { proto 88 net/netfilter/ipvs/ip_vs_core.c sprintf(buf, "IP_%d", proto); proto 321 net/netfilter/ipvs/ip_vs_ctl.c return (proto^ntohl(addr_fold)^(porth>>IP_VS_SVC_TAB_BITS)^porth) proto 38 net/netfilter/ipvs/ip_vs_proto.c #define IP_VS_PROTO_HASH(proto) ((proto) & (IP_VS_PROTO_TAB_SIZE-1)) proto 88 net/netfilter/ipvs/ip_vs_proto.c unsigned hash = IP_VS_PROTO_HASH(proto); proto 91 net/netfilter/ipvs/ip_vs_proto.c if (pp->protocol == proto) proto 146 net/netfilter/ipvs/ip_vs_proto.c struct ip_vs_protocol *pp = ip_vs_proto_get(proto); proto 149 net/netfilter/ipvs/ip_vs_proto.c return (IPPROTO_IP == proto) ? "NONE" : "ERR!"; proto 257 net/netfilter/nf_conntrack_expect.c exp->tuple.dst.protonum = proto; proto 106 net/netfilter/nf_conntrack_pptp.c ct->proto.gre.timeout = PPTP_GRE_TIMEOUT; proto 107 net/netfilter/nf_conntrack_pptp.c ct->proto.gre.stream_timeout = PPTP_GRE_STREAM_TIMEOUT; proto 152 net/netfilter/nf_conntrack_pptp.c sibling->proto.gre.timeout = 0; proto 153 net/netfilter/nf_conntrack_pptp.c sibling->proto.gre.stream_timeout = 0; proto 187 net/netfilter/nf_conntrack_proto.c if (proto->l3proto >= AF_MAX) proto 191 net/netfilter/nf_conntrack_proto.c if (nf_ct_l3protos[proto->l3proto] != &nf_conntrack_l3proto_generic) { proto 196 net/netfilter/nf_conntrack_proto.c ret = nf_ct_l3proto_register_sysctl(proto); proto 200 net/netfilter/nf_conntrack_proto.c rcu_assign_pointer(nf_ct_l3protos[proto->l3proto], proto); proto 212 net/netfilter/nf_conntrack_proto.c BUG_ON(proto->l3proto >= AF_MAX); proto 215 net/netfilter/nf_conntrack_proto.c BUG_ON(nf_ct_l3protos[proto->l3proto] != proto); proto 216 net/netfilter/nf_conntrack_proto.c rcu_assign_pointer(nf_ct_l3protos[proto->l3proto], proto 218 net/netfilter/nf_conntrack_proto.c nf_ct_l3proto_unregister_sysctl(proto); proto 225 net/netfilter/nf_conntrack_proto.c nf_ct_iterate_cleanup(net, kill_l3proto, proto); proto 443 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[IP_CT_DIR_ORIGINAL] = CT_DCCP_ROLE_CLIENT; proto 444 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[IP_CT_DIR_REPLY] = CT_DCCP_ROLE_SERVER; proto 445 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = CT_DCCP_NONE; proto 486 net/netfilter/nf_conntrack_proto_dccp.c role = ct->proto.dccp.role[dir]; proto 487 net/netfilter/nf_conntrack_proto_dccp.c old_state = ct->proto.dccp.state; proto 496 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[dir] = CT_DCCP_ROLE_CLIENT; proto 497 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_SERVER; proto 502 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh); proto 507 net/netfilter/nf_conntrack_proto_dccp.c dccp_ack_seq(dh) == ct->proto.dccp.handshake_seq) proto 516 net/netfilter/nf_conntrack_proto_dccp.c if (ct->proto.dccp.last_dir == !dir && proto 517 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.last_pkt == DCCP_PKT_REQUEST && proto 519 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[!dir] = CT_DCCP_ROLE_CLIENT; proto 520 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.role[dir] = CT_DCCP_ROLE_SERVER; proto 521 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.handshake_seq = dccp_hdr_seq(dh); proto 525 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.last_dir = dir; proto 526 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.last_pkt = type; proto 541 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.last_dir = dir; proto 542 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.last_pkt = type; proto 543 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = new_state; proto 610 net/netfilter/nf_conntrack_proto_dccp.c return seq_printf(s, "%s ", dccp_state_names[ct->proto.dccp.state]); proto 623 net/netfilter/nf_conntrack_proto_dccp.c NLA_PUT_U8(skb, CTA_PROTOINFO_DCCP_STATE, ct->proto.dccp.state); proto 656 net/netfilter/nf_conntrack_proto_dccp.c ct->proto.dccp.state = nla_get_u8(tb[CTA_PROTOINFO_DCCP_STATE]); proto 226 net/netfilter/nf_conntrack_proto_gre.c (ct->proto.gre.timeout / HZ), proto 227 net/netfilter/nf_conntrack_proto_gre.c (ct->proto.gre.stream_timeout / HZ)); proto 242 net/netfilter/nf_conntrack_proto_gre.c ct->proto.gre.stream_timeout); proto 248 net/netfilter/nf_conntrack_proto_gre.c ct->proto.gre.timeout); proto 262 net/netfilter/nf_conntrack_proto_gre.c ct->proto.gre.stream_timeout = GRE_STREAM_TIMEOUT; proto 263 net/netfilter/nf_conntrack_proto_gre.c ct->proto.gre.timeout = GRE_TIMEOUT; proto 172 net/netfilter/nf_conntrack_proto_sctp.c state = ct->proto.sctp.state; proto 315 net/netfilter/nf_conntrack_proto_sctp.c sh->vtag != ct->proto.sctp.vtag[dir]) { proto 330 net/netfilter/nf_conntrack_proto_sctp.c if (sh->vtag != ct->proto.sctp.vtag[dir] && proto 331 net/netfilter/nf_conntrack_proto_sctp.c sh->vtag != ct->proto.sctp.vtag[!dir]) proto 335 net/netfilter/nf_conntrack_proto_sctp.c if (sh->vtag != ct->proto.sctp.vtag[dir] && proto 336 net/netfilter/nf_conntrack_proto_sctp.c sh->vtag != ct->proto.sctp.vtag[!dir] && proto 341 net/netfilter/nf_conntrack_proto_sctp.c if (sh->vtag != ct->proto.sctp.vtag[dir]) proto 345 net/netfilter/nf_conntrack_proto_sctp.c old_state = ct->proto.sctp.state; proto 367 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[!dir] = ih->init_tag; proto 370 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = new_state; proto 445 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = proto 457 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = sh->vtag; proto 460 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = new_state; proto 481 net/netfilter/nf_conntrack_proto_sctp.c NLA_PUT_U8(skb, CTA_PROTOINFO_SCTP_STATE, ct->proto.sctp.state); proto 485 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL]); proto 489 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_REPLY]); proto 531 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.state = nla_get_u8(tb[CTA_PROTOINFO_SCTP_STATE]); proto 532 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_ORIGINAL] = proto 534 net/netfilter/nf_conntrack_proto_sctp.c ct->proto.sctp.vtag[IP_CT_DIR_REPLY] = proto 301 net/netfilter/nf_conntrack_proto_tcp.c state = ct->proto.tcp.state; proto 702 net/netfilter/nf_conntrack_proto_tcp.c const struct ip_ct_tcp_state *sender = &ct->proto.tcp.seen[dir]; proto 703 net/netfilter/nf_conntrack_proto_tcp.c const struct ip_ct_tcp_state *receiver = &ct->proto.tcp.seen[!dir]; proto 712 net/netfilter/nf_conntrack_proto_tcp.c if (after(end, ct->proto.tcp.seen[dir].td_end)) proto 713 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[dir].td_end = end; proto 714 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_end = end; proto 825 net/netfilter/nf_conntrack_proto_tcp.c old_state = ct->proto.tcp.state; proto 847 net/netfilter/nf_conntrack_proto_tcp.c if (((ct->proto.tcp.seen[dir].flags proto 848 net/netfilter/nf_conntrack_proto_tcp.c | ct->proto.tcp.seen[!dir].flags) proto 850 net/netfilter/nf_conntrack_proto_tcp.c || (ct->proto.tcp.last_dir == dir proto 851 net/netfilter/nf_conntrack_proto_tcp.c && ct->proto.tcp.last_index == TCP_RST_SET)) { proto 880 net/netfilter/nf_conntrack_proto_tcp.c && ct->proto.tcp.last_index == TCP_SYN_SET proto 881 net/netfilter/nf_conntrack_proto_tcp.c && ct->proto.tcp.last_dir != dir proto 882 net/netfilter/nf_conntrack_proto_tcp.c && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { proto 897 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_index = index; proto 898 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_dir = dir; proto 899 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_seq = ntohl(th->seq); proto 900 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_end = proto 920 net/netfilter/nf_conntrack_proto_tcp.c && ct->proto.tcp.last_index == TCP_SYN_SET) proto 922 net/netfilter/nf_conntrack_proto_tcp.c && ct->proto.tcp.last_index == TCP_ACK_SET)) proto 923 net/netfilter/nf_conntrack_proto_tcp.c && ntohl(th->ack_seq) == ct->proto.tcp.last_end) { proto 941 net/netfilter/nf_conntrack_proto_tcp.c if (!tcp_in_window(ct, &ct->proto.tcp, dir, index, proto 948 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_index = index; proto 949 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_dir = dir; proto 958 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = new_state; proto 961 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[dir].flags |= IP_CT_TCP_FLAG_CLOSE_INIT; proto 963 net/netfilter/nf_conntrack_proto_tcp.c if (ct->proto.tcp.retrans >= nf_ct_tcp_max_retrans && proto 966 net/netfilter/nf_conntrack_proto_tcp.c else if ((ct->proto.tcp.seen[0].flags | ct->proto.tcp.seen[1].flags) & proto 1009 net/netfilter/nf_conntrack_proto_tcp.c const struct ip_ct_tcp_state *sender = &ct->proto.tcp.seen[0]; proto 1010 net/netfilter/nf_conntrack_proto_tcp.c const struct ip_ct_tcp_state *receiver = &ct->proto.tcp.seen[1]; proto 1028 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_end = proto 1031 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); proto 1032 net/netfilter/nf_conntrack_proto_tcp.c if (ct->proto.tcp.seen[0].td_maxwin == 0) proto 1033 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxwin = 1; proto 1034 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxend = proto 1035 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_end; proto 1037 net/netfilter/nf_conntrack_proto_tcp.c tcp_options(skb, dataoff, th, &ct->proto.tcp.seen[0]); proto 1038 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].flags = 0; proto 1048 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_end = proto 1051 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxwin = ntohs(th->window); proto 1052 net/netfilter/nf_conntrack_proto_tcp.c if (ct->proto.tcp.seen[0].td_maxwin == 0) proto 1053 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxwin = 1; proto 1054 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxend = proto 1055 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_end + proto 1056 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_maxwin; proto 1057 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_scale = 0; proto 1061 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].flags = proto 1062 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].flags = IP_CT_TCP_FLAG_SACK_PERM | proto 1066 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_end = 0; proto 1067 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_maxend = 0; proto 1068 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_maxwin = 1; proto 1069 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_scale = 0; proto 1072 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = TCP_CONNTRACK_NONE; proto 1073 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.last_index = TCP_NONE_SET; proto 1100 net/netfilter/nf_conntrack_proto_tcp.c NLA_PUT_U8(skb, CTA_PROTOINFO_TCP_STATE, ct->proto.tcp.state); proto 1103 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_scale); proto 1106 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_scale); proto 1108 net/netfilter/nf_conntrack_proto_tcp.c tmp.flags = ct->proto.tcp.seen[0].flags; proto 1112 net/netfilter/nf_conntrack_proto_tcp.c tmp.flags = ct->proto.tcp.seen[1].flags; proto 1155 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.state = nla_get_u8(tb[CTA_PROTOINFO_TCP_STATE]); proto 1160 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].flags &= ~attr->mask; proto 1161 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].flags |= attr->flags & attr->mask; proto 1167 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].flags &= ~attr->mask; proto 1168 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].flags |= attr->flags & attr->mask; proto 1173 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].flags & IP_CT_TCP_FLAG_WINDOW_SCALE && proto 1174 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].flags & IP_CT_TCP_FLAG_WINDOW_SCALE) { proto 1175 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[0].td_scale = proto 1177 net/netfilter/nf_conntrack_proto_tcp.c ct->proto.tcp.seen[1].td_scale = proto 351 net/netfilter/x_tables.c if (par->match->proto && (par->match->proto != proto || inv_proto)) { proto 354 net/netfilter/x_tables.c par->match->proto); proto 497 net/netfilter/x_tables.c if (par->target->proto && (par->target->proto != proto || inv_proto)) { proto 500 net/netfilter/x_tables.c par->target->proto); proto 287 net/netfilter/xt_TCPMSS.c .proto = IPPROTO_TCP, proto 297 net/netfilter/xt_TCPMSS.c .proto = IPPROTO_TCP, proto 107 net/netfilter/xt_TCPOPTSTRIP.c .proto = IPPROTO_TCP, proto 117 net/netfilter/xt_TCPOPTSTRIP.c .proto = IPPROTO_TCP, proto 66 net/netfilter/xt_TPROXY.c if ((i->proto == IPPROTO_TCP || i->proto == IPPROTO_UDP) proto 76 net/netfilter/xt_connlimit.c return conn->proto.tcp.state == TCP_CONNTRACK_TIME_WAIT || proto 77 net/netfilter/xt_connlimit.c conn->proto.tcp.state == TCP_CONNTRACK_CLOSE; proto 140 net/netfilter/xt_dccp.c .proto = IPPROTO_DCCP, proto 149 net/netfilter/xt_dccp.c .proto = IPPROTO_DCCP, proto 88 net/netfilter/xt_esp.c .proto = IPPROTO_ESP, proto 97 net/netfilter/xt_esp.c .proto = IPPROTO_ESP, proto 151 net/netfilter/xt_multiport.c return (proto == IPPROTO_TCP || proto == IPPROTO_UDP proto 152 net/netfilter/xt_multiport.c || proto == IPPROTO_UDPLITE proto 153 net/netfilter/xt_multiport.c || proto == IPPROTO_SCTP || proto == IPPROTO_DCCP) proto 166 net/netfilter/xt_multiport.c return check(ip->proto, ip->invflags, multiinfo->flags, proto 175 net/netfilter/xt_multiport.c return check(ip->proto, ip->invflags, multiinfo->flags, proto 184 net/netfilter/xt_multiport.c return check(ip->proto, ip->invflags, multiinfo->flags, proto 193 net/netfilter/xt_multiport.c return check(ip->proto, ip->invflags, multiinfo->flags, proto 48 net/netfilter/xt_policy.c MATCH(proto, x->id.proto) && proto 171 net/netfilter/xt_sctp.c .proto = IPPROTO_SCTP, proto 180 net/netfilter/xt_sctp.c .proto = IPPROTO_SCTP, proto 86 net/netfilter/xt_tcpmss.c .proto = IPPROTO_TCP, proto 94 net/netfilter/xt_tcpmss.c .proto = IPPROTO_TCP, proto 179 net/netfilter/xt_tcpudp.c .proto = IPPROTO_TCP, proto 188 net/netfilter/xt_tcpudp.c .proto = IPPROTO_TCP, proto 197 net/netfilter/xt_tcpudp.c .proto = IPPROTO_UDP, proto 206 net/netfilter/xt_tcpudp.c .proto = IPPROTO_UDP, proto 215 net/netfilter/xt_tcpudp.c .proto = IPPROTO_UDPLITE, proto 224 net/netfilter/xt_tcpudp.c .proto = IPPROTO_UDPLITE, proto 388 net/netlink/af_netlink.c static struct proto netlink_proto = { proto 423 net/netrom/af_netrom.c static struct proto nr_proto = { proto 357 net/packet/af_packet.c __be16 proto=0; proto 369 net/packet/af_packet.c proto=saddr->spkt_protocol; proto 430 net/packet/af_packet.c skb->protocol = proto; proto 772 net/packet/af_packet.c __be16 proto; proto 784 net/packet/af_packet.c proto = po->num; proto 793 net/packet/af_packet.c proto = saddr->sll_protocol; proto 823 net/packet/af_packet.c dev_hard_header(skb, dev, ntohs(proto), addr, NULL, len) < 0) proto 831 net/packet/af_packet.c skb->protocol = proto; proto 1023 net/packet/af_packet.c static struct proto packet_proto = { proto 1037 net/packet/af_packet.c __be16 proto = (__force __be16)protocol; /* weird, but documented */ proto 1061 net/packet/af_packet.c po->num = proto; proto 1078 net/packet/af_packet.c if (proto) { proto 1079 net/packet/af_packet.c po->prot_hook.type = proto; proto 168 net/phonet/datagram.c static struct proto pn_proto = { proto 1037 net/phonet/pep.c static struct proto pep_proto = { proto 512 net/rose/af_rose.c static struct proto rose_proto = { proto 34 net/rxrpc/af_rxrpc.c static struct proto rxrpc_proto; proto 94 net/rxrpc/af_rxrpc.c if (srx->transport.family != rx->proto) proto 641 net/rxrpc/af_rxrpc.c rx->proto = protocol; proto 772 net/rxrpc/af_rxrpc.c static struct proto rxrpc_proto = { proto 72 net/rxrpc/ar-internal.h sa_family_t proto; /* protocol created with */ proto 48 net/rxrpc/ar-peer.c fl.proto = IPPROTO_UDP, proto 206 net/sctp/ipv6.c fl.proto = sk->sk_protocol; proto 477 net/sctp/protocol.c fl.proto = IPPROTO_SCTP; proto 6701 net/sctp/socket.c struct proto sctp_prot = { proto 6733 net/sctp/socket.c struct proto sctpv6_prot = { proto 154 net/sunrpc/rpcb_clnt.c .protocol = proto, proto 870 net/sunrpc/svc.c BUG_ON(proto == 0 && port == 0); proto 880 net/sunrpc/svc.c proto == IPPROTO_UDP? "udp" : "tcp", proto 890 net/sunrpc/svc.c serv->sv_family, proto, port); proto 80 net/tipc/socket.c static struct proto tipc_proto; proto 1846 net/tipc/socket.c static struct proto tipc_proto = { proto 568 net/unix/af_unix.c static struct proto unix_proto = { proto 466 net/x25/af_x25.c static struct proto x25_proto = { proto 65 net/xfrm/xfrm_hash.h unsigned int h = (__force u32)spi ^ proto; proto 198 net/xfrm/xfrm_input.c x->type->proto); proto 73 net/xfrm/xfrm_policy.c (fl->proto == sel->proto || !sel->proto) && proto 84 net/xfrm/xfrm_policy.c (fl->proto == sel->proto || !sel->proto) && proto 1830 net/xfrm/xfrm_policy.c return x->id.proto == tmpl->id.proto && proto 1835 net/xfrm/xfrm_policy.c !(xfrm_id_proto_match(tmpl->id.proto, IPSEC_PROTO_ANY))) && proto 2519 net/xfrm/xfrm_policy.c if (sel_cmp->proto == IPSEC_ULPROTO_ANY) { proto 2577 net/xfrm/xfrm_policy.c if (t->mode == m->mode && t->id.proto == m->proto && proto 2670 net/xfrm/xfrm_policy.c m[i].proto == m[j].proto && proto 90 net/xfrm/xfrm_state.c return __xfrm_spi_hash(daddr, spi, proto, family, xfrm_state_hmask); proto 117 net/xfrm/xfrm_state.c x->id.proto, x->props.family, proto 230 net/xfrm/xfrm_state.c if (likely(typemap[type->proto] == NULL)) proto 231 net/xfrm/xfrm_state.c typemap[type->proto] = type; proto 249 net/xfrm/xfrm_state.c if (unlikely(typemap[type->proto] != type)) proto 252 net/xfrm/xfrm_state.c typemap[type->proto] = NULL; proto 271 net/xfrm/xfrm_state.c type = typemap[proto]; proto 276 net/xfrm/xfrm_state.c request_module("xfrm-type-%d-%d", family, proto); proto 599 net/xfrm/xfrm_state.c if (xfrm_id_proto_match(x->id.proto, proto) && proto 625 net/xfrm/xfrm_state.c err = xfrm_state_flush_secctx_check(proto, audit_info); proto 635 net/xfrm/xfrm_state.c xfrm_id_proto_match(x->id.proto, proto)) { proto 686 net/xfrm/xfrm_state.c unsigned int h = xfrm_spi_hash(daddr, spi, proto, family); proto 693 net/xfrm/xfrm_state.c x->id.proto != proto) proto 724 net/xfrm/xfrm_state.c x->id.proto != proto) proto 756 net/xfrm/xfrm_state.c x->id.proto, family); proto 760 net/xfrm/xfrm_state.c x->id.proto, family); proto 794 net/xfrm/xfrm_state.c tmpl->id.proto == x->id.proto && proto 833 net/xfrm/xfrm_state.c tmpl->id.proto, family)) != NULL) { proto 862 net/xfrm/xfrm_state.c h = xfrm_spi_hash(&x->id.daddr, x->id.spi, x->id.proto, family); proto 904 net/xfrm/xfrm_state.c proto == x->id.proto && proto 936 net/xfrm/xfrm_state.c h = xfrm_spi_hash(&x->id.daddr, x->id.spi, x->id.proto, proto 994 net/xfrm/xfrm_state.c x->id.proto != proto) proto 1047 net/xfrm/xfrm_state.c x->id.proto = proto; proto 1075 net/xfrm/xfrm_state.c int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); proto 1093 net/xfrm/xfrm_state.c if (x1 && ((x1->id.proto != x->id.proto) || proto 1102 net/xfrm/xfrm_state.c x->id.proto, proto 1213 net/xfrm/xfrm_state.c x->id.proto != m->proto) proto 1230 net/xfrm/xfrm_state.c x->id.proto != m->proto) proto 1281 net/xfrm/xfrm_state.c int use_spi = xfrm_id_proto_match(x->id.proto, IPSEC_PROTO_ANY); proto 1378 net/xfrm/xfrm_state.c x = __xfrm_state_lookup(daddr, spi, proto, family); proto 1391 net/xfrm/xfrm_state.c x = __xfrm_state_lookup_byaddr(daddr, saddr, proto, family); proto 1405 net/xfrm/xfrm_state.c x = __find_acq_core(family, mode, reqid, proto, daddr, saddr, create); proto 1514 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(&x->id.daddr, minspi, x->id.proto, x->props.family); proto 1524 net/xfrm/xfrm_state.c x0 = xfrm_state_lookup(&x->id.daddr, htonl(spi), x->id.proto, x->props.family); proto 1534 net/xfrm/xfrm_state.c h = xfrm_spi_hash(&x->id.daddr, x->id.spi, x->id.proto, x->props.family); proto 1568 net/xfrm/xfrm_state.c if (!xfrm_id_proto_match(state->id.proto, walk->proto)) proto 1591 net/xfrm/xfrm_state.c walk->proto = proto; proto 1847 net/xfrm/xfrm_state.c ret = km->report(proto, sel, addr); proto 2063 net/xfrm/xfrm_state.c x->type = xfrm_get_type(x->id.proto, family); proto 2260 net/xfrm/xfrm_state.c if (xfrm_parse_spi(skb, proto, &net_spi, &net_seq) == 0) { proto 129 net/xfrm/xfrm_user.c switch (p->id.proto) { proto 441 net/xfrm/xfrm_user.c if (xfrm_id_proto_match(p->proto, IPSEC_PROTO_ANY)) { proto 443 net/xfrm/xfrm_user.c x = xfrm_state_lookup(&p->daddr, p->spi, p->proto, p->family); proto 454 net/xfrm/xfrm_user.c x = xfrm_state_lookup_byaddr(&p->daddr, saddr, p->proto, proto 799 net/xfrm/xfrm_user.c switch (p->info.id.proto) { proto 849 net/xfrm/xfrm_user.c p->info.id.proto, daddr, proto 1401 net/xfrm/xfrm_user.c err = xfrm_state_flush(p->proto, &audit_info); proto 1404 net/xfrm/xfrm_user.c c.data.proto = p->proto; proto 1435 net/xfrm/xfrm_user.c id->sa_id.proto = x->id.proto; proto 1471 net/xfrm/xfrm_user.c x = xfrm_state_lookup(&id->daddr, id->spi, id->proto, id->family); proto 1512 net/xfrm/xfrm_user.c x = xfrm_state_lookup(&p->sa_id.daddr, p->sa_id.spi, p->sa_id.proto, p->sa_id.family); proto 1631 net/xfrm/xfrm_user.c x = xfrm_state_lookup(&p->id.daddr, p->id.spi, p->id.proto, p->family); proto 1742 net/xfrm/xfrm_user.c ma->proto = um->proto; proto 1798 net/xfrm/xfrm_user.c um.proto = m->proto; proto 2080 net/xfrm/xfrm_user.c p->proto = c->data.proto; proto 2144 net/xfrm/xfrm_user.c id->proto = x->id.proto; proto 2478 net/xfrm/xfrm_user.c ur->proto = proto; proto 2500 net/xfrm/xfrm_user.c if (build_report(skb, proto, sel, addr) < 0) proto 334 scripts/mod/file2alias.c id->proto = TO_NATIVE(id->proto); proto 340 scripts/mod/file2alias.c ADD(alias, "pr", id->proto != SERIO_ANY, id->proto); proto 3417 security/selinux/hooks.c if (proto) proto 3418 security/selinux/hooks.c *proto = ih->protocol; proto 3501 security/selinux/hooks.c if (proto) proto 3502 security/selinux/hooks.c *proto = nexthdr; proto 3559 security/selinux/hooks.c ret = selinux_parse_skb_ipv4(skb, ad, proto); proto 3568 security/selinux/hooks.c ret = selinux_parse_skb_ipv6(skb, ad, proto); proto 4588 security/selinux/hooks.c u8 proto; proto 4597 security/selinux/hooks.c if (selinux_parse_skb(skb, &ad, &addrp, 0, &proto)) proto 4611 security/selinux/hooks.c if (selinux_xfrm_postroute_last(sksec->sid, skb, &ad, proto)) proto 464 security/selinux/xfrm.c switch (proto) {