tag | line | file | source code |
protocol | 588 | arch/sparc/kernel/sys_sunos.c | sys_socket(int family, int type, int protocol); |
protocol | 600 | drivers/block/ide-tape.c | unsigned protocol :2; /* Protocol type */ |
protocol | 1018 | drivers/block/ide-tape.c | switch (gcw.protocol) { |
protocol | 1114 | drivers/block/ide-tape.c | if (gcw.protocol !=2 ) { |
protocol | 722 | drivers/net/3c501.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 623 | 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 | 610 | drivers/net/3c509.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 481 | drivers/net/8390.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 354 | drivers/net/apricot.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 2298 | drivers/net/arcnet.c | skb->protocol=arcnetA_type_trans(skb,dev); |
protocol | 2469 | drivers/net/arcnet.c | skb->protocol=arcnetA_type_trans(skb,dev); |
protocol | 2516 | drivers/net/arcnet.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 2571 | 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 | 1162 | 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 | 722 | drivers/net/de620.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 932 | drivers/net/depca.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1060 | drivers/net/eepro.c | skb->protocol = eth_type_trans(skb,dev); |
protocol | 946 | drivers/net/eexpress.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1051 | drivers/net/eth16i.c | skb->protocol=eth_type_trans(skb, dev); |
protocol | 1019 | drivers/net/ewrk3.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 776 | 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 | 1015 | 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 | 824 | drivers/net/ni52.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 548 | 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 | 1410 | drivers/net/pt.c | skb->protocol = ntohs(ETH_P_AX25); |
protocol | 1825 | drivers/net/pt.c | skb->protocol=htons(ETH_P_AX25); |
protocol | 557 | drivers/net/seeq8005.c | skb->protocol=eth_type_trans(skb,dev); |
protocol | 1613 | 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 | 362 | drivers/net/sunlance.c | skb->protocol = eth_type_trans (skb,dev); |
protocol | 403 | drivers/net/sunlance.c | skb->protocol = eth_type_trans (skb,dev); |
protocol | 622 | 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 | 1678 | 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 | 678 | fs/nfs/nfsroot.c | extern asmlinkage int sys_socket(int family, int type, int protocol); |
protocol | 262 | fs/smbfs/inode.c | if (server->protocol >= PROTOCOL_LANMAN2) |
protocol | 503 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_CORE) { |
protocol | 1375 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN2) |
protocol | 1446 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
protocol | 1541 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_LANMAN1) { |
protocol | 1708 | fs/smbfs/proc.c | server->protocol = prots[i].prot; |
protocol | 1713 | fs/smbfs/proc.c | if (server->protocol > PROTOCOL_LANMAN1) { |
protocol | 1725 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_NT1) { |
protocol | 1740 | fs/smbfs/proc.c | if (server->protocol >= PROTOCOL_NT1) { |
protocol | 95 | include/linux/if_ppp.h | int protocol; /* PPP procotol, e.g. PPP_IP */ |
protocol | 105 | include/linux/ip.h | __u8 protocol; |
protocol | 158 | 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 | 88 | 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 | 181 | include/net/sock.h | unsigned char protocol; |
protocol | 294 | 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 | 444 | net/appletalk/aarp.c | skb->protocol = htons(ETH_P_ATALK); |
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 | 861 | net/ax25/af_ax25.c | static int ax25_create(struct socket *sock, int protocol) |
protocol | 868 | net/ax25/af_ax25.c | if (protocol == 0 || protocol == AF_AX25) |
protocol | 869 | net/ax25/af_ax25.c | protocol = AX25_P_TEXT; |
protocol | 872 | net/ax25/af_ax25.c | switch (protocol) { |
protocol | 875 | net/ax25/af_ax25.c | protocol = AX25_P_TEXT; |
protocol | 910 | net/ax25/af_ax25.c | sk->protocol = protocol; |
protocol | 987 | net/ax25/af_ax25.c | sk->protocol = osk->protocol; |
protocol | 1043 | net/ax25/af_ax25.c | return ax25_create(newsock, sk->protocol); |
protocol | 1784 | net/ax25/af_ax25.c | *asmptr = sk->protocol; |
protocol | 2191 | net/ax25/af_ax25.c | skb->protocol = htons (ETH_P_AX25); |
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 | 687 | net/core/dev.c | type = skb->protocol; |
protocol | 13 | net/ethernet/pe2.c | skb->protocol = htons (ETH_P_IPX); |
protocol | 577 | net/ipv4/af_inet.c | static int inet_create(struct socket *sock, int protocol) |
protocol | 593 | net/ipv4/af_inet.c | if (protocol && protocol != IPPROTO_TCP) |
protocol | 598 | net/ipv4/af_inet.c | protocol = IPPROTO_TCP; |
protocol | 604 | net/ipv4/af_inet.c | if (protocol && protocol != IPPROTO_UDP) |
protocol | 609 | net/ipv4/af_inet.c | protocol = IPPROTO_UDP; |
protocol | 620 | net/ipv4/af_inet.c | if (!protocol) |
protocol | 627 | net/ipv4/af_inet.c | sk->num = protocol; |
protocol | 636 | net/ipv4/af_inet.c | if (!protocol) |
protocol | 643 | net/ipv4/af_inet.c | sk->num = protocol; |
protocol | 657 | net/ipv4/af_inet.c | sk->protocol = protocol; |
protocol | 682 | net/ipv4/af_inet.c | if(sk->type==SOCK_RAW && protocol==IPPROTO_RAW) |
protocol | 729 | net/ipv4/af_inet.c | return(inet_create(newsock,((struct sock *)(oldsock->data))->protocol)); |
protocol | 946 | net/ipv4/af_inet.c | if (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK)) |
protocol | 985 | net/ipv4/af_inet.c | if(sk->err && sk->protocol == IPPROTO_TCP) |
protocol | 656 | net/ipv4/arp.c | skb->protocol = htons (ETH_P_IP); |
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 | 432 | net/ipv4/icmp.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
protocol | 454 | net/ipv4/icmp.c | if (iph->protocol == ipprot->protocol && ipprot->err_handler) |
protocol | 638 | net/ipv4/icmp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
protocol | 409 | net/ipv4/igmp.c | struct inet_protocol *protocol) |
protocol | 59 | net/ipv4/ip_forward.c | iph->protocol = IPPROTO_IPIP; |
protocol | 281 | net/ipv4/ip_forward.c | skb2->protocol=htons(ETH_P_IP); |
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 | 513 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
protocol | 673 | net/ipv4/ip_fw.c | ms->protocol = IPPROTO_TCP; |
protocol | 802 | net/ipv4/ip_fw.c | if (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP) |
protocol | 814 | net/ipv4/ip_fw.c | strProt[iph->protocol==IPPROTO_TCP], |
protocol | 820 | net/ipv4/ip_fw.c | if (iph->protocol == ms->protocol && |
protocol | 842 | net/ipv4/ip_fw.c | ms->protocol = iph->protocol; |
protocol | 861 | net/ipv4/ip_fw.c | if (iph->protocol==IPPROTO_UDP) |
protocol | 915 | net/ipv4/ip_fw.c | if (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP) |
protocol | 925 | net/ipv4/ip_fw.c | strProt[iph->protocol==IPPROTO_TCP], |
protocol | 942 | net/ipv4/ip_fw.c | if (iph->protocol==ms->protocol && |
protocol | 943 | net/ipv4/ip_fw.c | (iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && |
protocol | 963 | net/ipv4/ip_fw.c | if (iph->protocol==IPPROTO_UDP) |
protocol | 1663 | net/ipv4/ip_fw.c | strProt[ms->protocol==IPPROTO_TCP], |
protocol | 469 | net/ipv4/ip_input.c | hash = iph->protocol & (SOCK_ARRAY_SIZE-1); |
protocol | 479 | net/ipv4/ip_input.c | raw_sk=get_sock_raw(raw_sk, iph->protocol, iph->saddr, iph->daddr); |
protocol | 485 | net/ipv4/ip_input.c | sknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr); |
protocol | 510 | net/ipv4/ip_input.c | hash = iph->protocol & (MAX_INET_PROTOS -1); |
protocol | 515 | net/ipv4/ip_input.c | if (ipprot->protocol != iph->protocol) |
protocol | 120 | net/ipv4/ip_output.c | skb->protocol = htons(ETH_P_IP); |
protocol | 157 | net/ipv4/ip_output.c | skb->protocol = htons(ETH_P_IP); |
protocol | 304 | net/ipv4/ip_output.c | iph->protocol = type; |
protocol | 656 | net/ipv4/ip_output.c | skb->protocol = htons(ETH_P_IP); |
protocol | 694 | net/ipv4/ip_output.c | iph->protocol=type; |
protocol | 823 | net/ipv4/ip_output.c | skb->protocol = htons(ETH_P_IP); |
protocol | 890 | 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 | 80 | net/ipv4/raw.c | __u32 saddr, struct inet_protocol *protocol) |
protocol | 84 | net/ipv4/raw.c | if (protocol == NULL) |
protocol | 86 | net/ipv4/raw.c | sk = (struct sock *) protocol->data; |
protocol | 1069 | net/ipv4/tcp.c | __u32 saddr, struct inet_protocol *protocol) |
protocol | 4821 | 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 | 596 | net/ipv4/udp.c | __u32 saddr, int redo, struct inet_protocol *protocol) |
protocol | 576 | net/ipx/af_ipx.c | skb->protocol = htons(ETH_P_IPX); |
protocol | 1464 | 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 | 65 | 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; |