tag | line | file | source code |
protocol | 590 | drivers/net/3c501.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 618 | drivers/net/3c505.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 857 | drivers/net/3c507.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 614 | drivers/net/3c509.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 475 | drivers/net/8390.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 356 | drivers/net/apricot.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 2348 | drivers/net/arcnet.c | skb->protocol=arcnetA_type_trans(skb,dev); |
protocol | 2515 | drivers/net/arcnet.c | skb->protocol=arcnetA_type_trans(skb,dev); |
protocol | 2565 | drivers/net/arcnet.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 2624 | drivers/net/arcnet.c | skb->protocol=arcnetS_type_trans(skb,dev); |
protocol | 545 | drivers/net/at1700.c | skb->protocol=eth_type_trans(skb, dev); |
protocol | 694 | drivers/net/atp.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1164 | drivers/net/de4x5.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 476 | drivers/net/de600.c | if (skb->sk && (skb->sk->protocol == IPPROTO_TCP) && |
protocol | 627 | drivers/net/de600.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 725 | drivers/net/de620.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 959 | drivers/net/depca.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1054 | drivers/net/eepro.c | skb->protocol = eth_type_trans(skb,dev); |
protocol | 950 | drivers/net/eexpress.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1047 | drivers/net/eth16i.c | skb->protocol=eth_type_trans(skb, dev); |
protocol | 1054 | drivers/net/ewrk3.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 780 | drivers/net/hp100.c | skb -> protocol = eth_type_trans( skb, dev ); |
protocol | 1229 | drivers/net/ibmtr.c | skb->protocol=tr_type_trans(skb,dev); |
protocol | 1006 | drivers/net/lance.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 98 | drivers/net/loopback.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 811 | drivers/net/ni52.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 546 | drivers/net/ni65.c | skb1->protocol=eth_type_trans(skb1,dev); |
protocol | 569 | drivers/net/pi2.c | skb->protocol=htons(ETH_P_AX25); |
protocol | 657 | drivers/net/pi2.c | skb->protocol=ntohs(ETH_P_AX25); |
protocol | 580 | drivers/net/plip.c | rcv->skb->protocol=eth_type_trans(rcv->skb, dev); |
protocol | 217 | drivers/net/ppp.c | static int ppp_dev_input (struct protocol *self, struct protocol *lower, |
protocol | 219 | drivers/net/ppp.c | static int ppp_dev_output (struct protocol *self, sk_buff *skb, int type, |
protocol | 221 | drivers/net/ppp.c | static int ppp_dev_getkey(int protocol, int subid, unsigned char *key); |
protocol | 263 | drivers/net/ppp.c | unsigned char protocol[2]; |
protocol | 294 | drivers/net/ppp.c | static struct protocol proto_ppp; |
protocol | 1271 | drivers/net/ppp.c | skb->protocol = proto; |
protocol | 2970 | drivers/net/ppp.c | hdr->protocol[0] = 0; |
protocol | 2971 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
protocol | 3073 | drivers/net/ppp.c | hdr->protocol[0] = proto >> 8; |
protocol | 3074 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
protocol | 3165 | drivers/net/ppp.c | switch (skb->protocol) { |
protocol | 3232 | drivers/net/ppp.c | static int ppp_dev_input (struct protocol *self, struct protocol *lower, |
protocol | 3238 | drivers/net/ppp.c | static int ppp_dev_output (struct protocol *self, sk_buff *skb, int type, |
protocol | 3251 | drivers/net/ppp.c | static int ppp_dev_getkey(int protocol, int subid, unsigned char *key) |
protocol | 3253 | drivers/net/ppp.c | switch (protocol) |
protocol | 557 | drivers/net/seeq8005.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1618 | drivers/net/sk_g16.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 256 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) || |
protocol | 259 | drivers/net/slhc.c | if(ip->protocol != IPPROTO_TCP) |
protocol | 386 | drivers/net/slip.c | skb->protocol=htons(ETH_P_AX25); |
protocol | 388 | drivers/net/slip.c | skb->protocol=htons(ETH_P_IP); |
protocol | 626 | drivers/net/tulip.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 105 | drivers/net/tunnel.c | printk("--- ip protocol: %d\n", ip->protocol); |
protocol | 180 | drivers/net/tunnel.c | if ( iph->protocol == IPPROTO_IPIP && iph->saddr == dev->pa_addr ) |
protocol | 232 | drivers/net/tunnel.c | iph->protocol = IPPROTO_IPIP; |
protocol | 1676 | drivers/net/wavelan.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 573 | drivers/net/znet.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 262 | fs/smbfs/inode.c | if (server->protocol >= PROTOCOL_LANMAN2) |
protocol | 498 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_CORE) { |
protocol | 1369 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN2) |
protocol | 1440 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
protocol | 1535 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
protocol | 1698 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
protocol | 1703 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_LANMAN1) { |
protocol | 93 | include/linux/if_ppp.h | int protocol; /* PPP procotol, e.g. PPP_IP */ |
protocol | 105 | include/linux/ip.h | __u8 protocol; |
protocol | 141 | include/linux/ip_fw.h | __u16 protocol; /* Which protocol are we talking? */ |
protocol | 93 | include/linux/net.h | int (*create) (struct socket *sock, int protocol); |
protocol | 86 | include/linux/skbuff.h | unsigned short protocol; /* Packet protocol from driver. */ |
protocol | 19 | include/linux/smb_fs_sb.h | enum smb_protocol protocol; /* The protocol this |
protocol | 31 | include/net/icmp.h | int redo, struct inet_protocol *protocol); |
protocol | 3 | include/net/ipip.h | int redo, struct inet_protocol *protocol); |
protocol | 35 | include/net/protocol.h | int redo, struct inet_protocol *protocol); |
protocol | 39 | include/net/protocol.h | struct inet_protocol *protocol); |
protocol | 41 | include/net/protocol.h | unsigned char protocol; |
protocol | 25 | include/net/raw.h | __u32 saddr, struct inet_protocol *protocol); |
protocol | 176 | include/net/sock.h | unsigned char protocol; |
protocol | 302 | include/net/sock.h | int redo, struct inet_protocol *protocol); |
protocol | 127 | include/net/tcp.h | __u32, struct inet_protocol *protocol); |
protocol | 132 | include/net/tcp.h | struct inet_protocol *protocol); |
protocol | 35 | include/net/udp.h | __u32 saddr, struct inet_protocol *protocol); |
protocol | 48 | include/net/udp.h | struct inet_protocol *protocol); |
protocol | 1072 | net/appletalk/ddp.c | static int atalk_create(struct socket *sock, int protocol) |
protocol | 366 | net/ax25/af_ax25.c | if (sk->type == SOCK_RAW && sk->protocol == proto && sk->rmem_alloc <= sk->rcvbuf) { |
protocol | 857 | net/ax25/af_ax25.c | static int ax25_create(struct socket *sock, int protocol) |
protocol | 864 | net/ax25/af_ax25.c | if (protocol == 0 || protocol == AF_AX25) |
protocol | 865 | net/ax25/af_ax25.c | protocol = AX25_P_TEXT; |
protocol | 868 | net/ax25/af_ax25.c | switch (protocol) { |
protocol | 871 | net/ax25/af_ax25.c | protocol = AX25_P_TEXT; |
protocol | 906 | net/ax25/af_ax25.c | sk->protocol = protocol; |
protocol | 983 | net/ax25/af_ax25.c | sk->protocol = osk->protocol; |
protocol | 1039 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
protocol | 1778 | net/ax25/af_ax25.c | *asmptr = sk->protocol; |
protocol | 159 | net/ax25/ax25_in.c | if (ax25->sk != NULL && ax25_dev_get_value(ax25->device, AX25_VALUES_TEXT) && ax25->sk->protocol == pid) { |
protocol | 658 | net/core/dev.c | type = skb->protocol; |
protocol | 573 | net/ipv4/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
protocol | 589 | net/ipv4/af_inet.c | if (protocol && protocol != IPPROTO_TCP) |
protocol | 594 | net/ipv4/af_inet.c | protocol = IPPROTO_TCP; |
protocol | 600 | net/ipv4/af_inet.c | if (protocol && protocol != IPPROTO_UDP) |
protocol | 605 | net/ipv4/af_inet.c | protocol = IPPROTO_UDP; |
protocol | 616 | net/ipv4/af_inet.c | if (!protocol) |
protocol | 623 | net/ipv4/af_inet.c | sk->num = protocol; |
protocol | 632 | net/ipv4/af_inet.c | if (!protocol) |
protocol | 639 | net/ipv4/af_inet.c | sk->num = protocol; |
protocol | 653 | net/ipv4/af_inet.c | sk->protocol = protocol; |
protocol | 678 | net/ipv4/af_inet.c | if(sk->type==SOCK_RAW && protocol==IPPROTO_RAW) |
protocol | 725 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
protocol | 941 | net/ipv4/af_inet.c | if (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK)) |
protocol | 980 | net/ipv4/af_inet.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
protocol | 300 | net/ipv4/icmp.c | if(iph->protocol==IPPROTO_ICMP) |
protocol | 360 | net/ipv4/icmp.c | in_ntoa(iph->daddr), ntohs(iph->protocol)); |
protocol | 390 | net/ipv4/icmp.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
protocol | 412 | net/ipv4/icmp.c | if (iph->protocol == ipprot->protocol && ipprot->err_handler) |
protocol | 607 | net/ipv4/icmp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
protocol | 215 | net/ipv4/igmp.c | struct inet_protocol *protocol) |
protocol | 58 | net/ipv4/ip_forward.c | iph->protocol = IPPROTO_IPIP; |
protocol | 139 | net/ipv4/ip_fragment.c | iph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol) |
protocol | 234 | net/ipv4/ip_fw.c | if (offset == 1 && ip->protocol == IPPROTO_TCP) |
protocol | 237 | net/ipv4/ip_fw.c | if (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP || |
protocol | 238 | net/ipv4/ip_fw.c | ip->protocol == IPPROTO_UDP)) |
protocol | 245 | net/ipv4/ip_fw.c | if(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len)) |
protocol | 267 | net/ipv4/ip_fw.c | switch(ip->protocol) |
protocol | 299 | net/ipv4/ip_fw.c | dprintf2("p=%d ",ip->protocol); |
protocol | 306 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
protocol | 310 | net/ipv4/ip_fw.c | if (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP) |
protocol | 436 | net/ipv4/ip_fw.c | switch(ip->protocol) |
protocol | 447 | net/ipv4/ip_fw.c | printk("p=%d ",ip->protocol); |
protocol | 451 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
protocol | 455 | net/ipv4/ip_fw.c | if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) |
protocol | 498 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
protocol | 658 | net/ipv4/ip_fw.c | ms->protocol = IPPROTO_TCP; |
protocol | 787 | net/ipv4/ip_fw.c | if (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP) |
protocol | 799 | net/ipv4/ip_fw.c | strProt[iph->protocol==IPPROTO_TCP], |
protocol | 805 | net/ipv4/ip_fw.c | if (iph->protocol == ms->protocol && |
protocol | 827 | net/ipv4/ip_fw.c | ms->protocol = iph->protocol; |
protocol | 846 | net/ipv4/ip_fw.c | if (iph->protocol==IPPROTO_UDP) |
protocol | 900 | net/ipv4/ip_fw.c | if (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP) |
protocol | 910 | net/ipv4/ip_fw.c | strProt[iph->protocol==IPPROTO_TCP], |
protocol | 927 | net/ipv4/ip_fw.c | if (iph->protocol==ms->protocol && |
protocol | 928 | net/ipv4/ip_fw.c | (iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && |
protocol | 948 | net/ipv4/ip_fw.c | if (iph->protocol==IPPROTO_UDP) |
protocol | 1644 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
protocol | 452 | net/ipv4/ip_input.c | hash = iph->protocol & (SOCK_ARRAY_SIZE-1); |
protocol | 462 | net/ipv4/ip_input.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
protocol | 468 | net/ipv4/ip_input.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
protocol | 493 | net/ipv4/ip_input.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
protocol | 498 | net/ipv4/ip_input.c | if (ipprot->protocol != iph->protocol) |
protocol | 283 | net/ipv4/ip_output.c | iph->protocol = type; |
protocol | 715 | net/ipv4/ip_output.c | iph->protocol=type; |
protocol | 904 | net/ipv4/ip_output.c | iph->protocol = type; |
protocol | 54 | net/ipv4/ipip.c | int redo, struct inet_protocol *protocol) |
protocol | 244 | net/ipv4/ipmr.c | ipmr_forward(skb, skb->protocol); |
protocol | 269 | net/ipv4/ipmr.c | skb->ip_hdr->protocol = 0; /* Flag to the kernel this is a route add */ |
protocol | 344 | net/ipv4/ipmr.c | skb->protocol=is_frag; |
protocol | 142 | net/ipv4/protocol.c | if (p->protocol == prot) |
protocol | 157 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
protocol | 169 | net/ipv4/protocol.c | if (p2->protocol == prot->protocol) |
protocol | 188 | net/ipv4/protocol.c | hash = prot->protocol & (MAX_INET_PROTOS - 1); |
protocol | 214 | net/ipv4/protocol.c | if (p->next != NULL && p->next->protocol == prot->protocol) |
protocol | 79 | net/ipv4/raw.c | __u32 saddr, struct inet_protocol *protocol) |
protocol | 83 | net/ipv4/raw.c | if (protocol == NULL) |
protocol | 85 | net/ipv4/raw.c | sk = (struct sock *) protocol->data; |
protocol | 212 | net/ipv4/raw.c | sin.sin_port = sk->protocol; |
protocol | 216 | net/ipv4/raw.c | sin.sin_port = sk->protocol; |
protocol | 1041 | net/ipv4/tcp.c | __u32 saddr, struct inet_protocol *protocol) |
protocol | 4729 | net/ipv4/tcp.c | __u32 saddr, int redo, struct inet_protocol * protocol) |
protocol | 155 | net/ipv4/udp.c | __u32 saddr, struct inet_protocol *protocol) |
protocol | 592 | net/ipv4/udp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
protocol | 1421 | net/ipx/af_ipx.c | ipx_create(struct socket *sock, int protocol) |
protocol | 421 | net/netrom/af_netrom.c | static int nr_create(struct socket *sock, int protocol) |
protocol | 426 | net/netrom/af_netrom.c | if (sock->type != SOCK_SEQPACKET || protocol != 0) |
protocol | 445 | net/netrom/af_netrom.c | sk->protocol = protocol; |
protocol | 550 | net/netrom/af_netrom.c | sk->protocol = osk->protocol; |
protocol | 609 | net/netrom/af_netrom.c | return nr_create(newsock, sk->protocol); |
protocol | 64 | net/netrom/nr_dev.c | skb->protocol = htons(ETH_P_IP); |
protocol | 509 | net/socket.c | asmlinkage int sys_socket(int family, int type, int protocol) |
protocol | 538 | net/socket.c | type != SOCK_PACKET) || protocol < 0) |
protocol | 556 | net/socket.c | if ((i = sock->ops->create(sock, protocol)) < 0) |
protocol | 575 | net/socket.c | asmlinkage int sys_socketpair(int family, int type, int protocol, int usockvec[2]) |
protocol | 586 | net/socket.c | if ((fd1 = sys_socket(family, type, protocol)) < 0) |
protocol | 599 | net/socket.c | if ((fd2 = sys_socket(family, type, protocol)) < 0) |
protocol | 270 | net/unix/af_unix.c | static int unix_create(struct socket *sock, int protocol) |
protocol | 274 | net/unix/af_unix.c | if(protocol && protocol != PF_UNIX) |
protocol | 306 | net/unix/af_unix.c | sk->protocol=0; |