tag | line | file | source code |
proto | 32 | arch/alpha/lib/checksum.c | unsigned short proto, |
proto | 37 | arch/alpha/lib/checksum.c | ((unsigned long) proto << 8)); |
proto | 304 | drivers/net/ppp.c | int proto; |
proto | 1251 | drivers/net/ppp.c | ppp_rcv_rx (struct ppp *ppp, unsigned short proto, u_char * data, int count) |
proto | 1271 | drivers/net/ppp.c | skb->protocol = proto; |
proto | 1289 | drivers/net/ppp.c | rcv_proto_ip (struct ppp *ppp, unsigned short proto, u_char * data, int count) |
proto | 1303 | drivers/net/ppp.c | rcv_proto_ipx (struct ppp *ppp, unsigned short proto, u_char * data, int count) |
proto | 1319 | drivers/net/ppp.c | rcv_proto_vjc_comp (struct ppp *ppp, unsigned short proto, |
proto | 1339 | drivers/net/ppp.c | rcv_proto_vjc_uncomp (struct ppp *ppp, unsigned short proto, |
proto | 1358 | drivers/net/ppp.c | rcv_proto_unknown (struct ppp *ppp, unsigned short proto, |
proto | 1389 | drivers/net/ppp.c | PUTC (proto >> 8); |
proto | 1390 | drivers/net/ppp.c | PUTC (proto); |
proto | 1529 | drivers/net/ppp.c | rcv_proto_ccp (struct ppp *ppp, unsigned short proto, u_char *dp, int len) |
proto | 1532 | drivers/net/ppp.c | return rcv_proto_unknown (ppp, proto, dp, len); |
proto | 1544 | drivers/net/ppp.c | rcv_proto_lqr (struct ppp *ppp, unsigned short proto, u_char * data, int len) |
proto | 1567 | drivers/net/ppp.c | return rcv_proto_unknown (ppp, proto, data, len); |
proto | 1575 | drivers/net/ppp.c | u_short proto = PPP_PROTOCOL (data); |
proto | 1593 | drivers/net/ppp.c | while (proto_ptr->proto != 0 && proto_ptr->proto != proto) |
proto | 1598 | drivers/net/ppp.c | if ((*proto_ptr->func) (ppp, proto, |
proto | 1614 | drivers/net/ppp.c | int addr, ctrl, proto; |
proto | 1672 | drivers/net/ppp.c | proto = (u_short) *data++; |
proto | 1673 | drivers/net/ppp.c | if ((proto & 1) == 0) { |
proto | 1674 | drivers/net/ppp.c | proto = (proto << 8) | (u_short) *data++; |
proto | 1682 | drivers/net/ppp.c | *(--data) = proto; |
proto | 1683 | drivers/net/ppp.c | *(--data) = proto >> 8; |
proto | 1693 | drivers/net/ppp.c | if (proto == PPP_COMP) { |
proto | 1967 | drivers/net/ppp.c | int proto; |
proto | 1986 | drivers/net/ppp.c | proto = PPP_PROTOCOL (data); |
proto | 1997 | drivers/net/ppp.c | if ((ppp->flags & SC_COMP_PROT) == 0 || (proto & 0xFF00)) |
proto | 1998 | drivers/net/ppp.c | ppp_stuff_char (ppp, buf, proto >> 8); |
proto | 2000 | drivers/net/ppp.c | ppp_stuff_char (ppp, buf, proto); |
proto | 2053 | drivers/net/ppp.c | int proto; |
proto | 2066 | drivers/net/ppp.c | proto = PPP_PROTOCOL (data); |
proto | 2074 | drivers/net/ppp.c | (proto != PPP_LCP) && |
proto | 2075 | drivers/net/ppp.c | (proto != PPP_CCP)) { |
proto | 2113 | drivers/net/ppp.c | ppp_dev_xmit_lower (ppp, buf, data, count, !!(proto & 0xFF00)); |
proto | 2891 | drivers/net/ppp.c | int proto = PPP_IP; |
proto | 2954 | drivers/net/ppp.c | proto = PPP_VJC_COMP; |
proto | 2958 | drivers/net/ppp.c | proto = PPP_VJC_UNCOMP; |
proto | 2971 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
proto | 3019 | drivers/net/ppp.c | u_char *data, int len, int proto) |
proto | 3073 | drivers/net/ppp.c | hdr->protocol[0] = proto >> 8; |
proto | 3074 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
proto | 3090 | drivers/net/ppp.c | u_char *data, int len, int proto) |
proto | 3102 | drivers/net/ppp.c | len, proto); |
proto | 18 | include/asm-alpha/checksum.h | unsigned short proto, |
proto | 84 | include/asm-i386/checksum.h | unsigned short proto, |
proto | 98 | include/asm-i386/checksum.h | : "0" (daddr), "1"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum)); |
proto | 109 | include/asm-mips/checksum.h | unsigned short proto, |
proto | 131 | include/asm-mips/checksum.h | : "0" (daddr), "r"(saddr), "r"((ntohs(len)<<16)+proto*256), "r"(sum) |
proto | 18 | include/asm-ppc/checksum.h | unsigned short proto, |
proto | 154 | include/asm-sparc/checksum.h | unsigned short proto, |
proto | 159 | include/asm-sparc/checksum.h | (sum & 0xffff) + proto + len)); |
proto | 21 | include/net/raw.h | extern struct proto raw_prot; |
proto | 145 | include/net/sock.h | struct proto *prot; |
proto | 342 | include/net/sock.h | extern unsigned short get_new_socknum(struct proto *, |
proto | 346 | include/net/sock.h | extern struct sock *get_sock(struct proto *, unsigned short, |
proto | 123 | include/net/tcp.h | extern struct proto tcp_prot; |
proto | 31 | include/net/udp.h | extern struct proto udp_prot; |
proto | 19 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 21 | net/802/p8022.c | for (proto = p8022_list; |
proto | 22 | net/802/p8022.c | ((proto != NULL) && (*(proto->type) != type)); |
proto | 23 | net/802/p8022.c | proto = proto->next) |
proto | 26 | net/802/p8022.c | return proto; |
proto | 32 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 34 | net/802/p8022.c | proto = find_8022_client(*(skb->h.raw)); |
proto | 35 | net/802/p8022.c | if (proto != NULL) { |
proto | 38 | net/802/p8022.c | return proto->rcvfunc(skb, dev, pt); |
proto | 79 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 84 | net/802/p8022.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 85 | net/802/p8022.c | if (proto != NULL) { |
proto | 86 | net/802/p8022.c | proto->type[0] = type; |
proto | 87 | net/802/p8022.c | proto->type_len = 1; |
proto | 88 | net/802/p8022.c | proto->rcvfunc = rcvfunc; |
proto | 89 | net/802/p8022.c | proto->header_length = 3; |
proto | 90 | net/802/p8022.c | proto->datalink_header = p8022_datalink_header; |
proto | 91 | net/802/p8022.c | proto->string_name = "802.2"; |
proto | 92 | net/802/p8022.c | proto->next = p8022_list; |
proto | 93 | net/802/p8022.c | p8022_list = proto; |
proto | 96 | net/802/p8022.c | return proto; |
proto | 19 | net/802/p8023.c | struct datalink_proto *proto; |
proto | 21 | net/802/p8023.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 22 | net/802/p8023.c | if (proto != NULL) { |
proto | 23 | net/802/p8023.c | proto->type_len = 0; |
proto | 24 | net/802/p8023.c | proto->header_length = 0; |
proto | 25 | net/802/p8023.c | proto->datalink_header = p8023_datalink_header; |
proto | 26 | net/802/p8023.c | proto->string_name = "802.3"; |
proto | 29 | net/802/p8023.c | return proto; |
proto | 30 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 32 | net/802/psnap.c | for (proto = snap_list; proto != NULL && memcmp(proto->type, desc, 5) ; proto = proto->next); |
proto | 33 | net/802/psnap.c | return proto; |
proto | 51 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 53 | net/802/psnap.c | proto = find_snap_client(skb->h.raw); |
proto | 54 | net/802/psnap.c | if (proto != NULL) |
proto | 64 | net/802/psnap.c | return proto->rcvfunc(skb, dev, &psnap_packet_type); |
proto | 98 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 103 | net/802/psnap.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 104 | net/802/psnap.c | if (proto != NULL) |
proto | 106 | net/802/psnap.c | memcpy(proto->type, desc,5); |
proto | 107 | net/802/psnap.c | proto->type_len = 5; |
proto | 108 | net/802/psnap.c | proto->rcvfunc = rcvfunc; |
proto | 109 | net/802/psnap.c | proto->header_length = 5+snap_dl->header_length; |
proto | 110 | net/802/psnap.c | proto->datalink_header = snap_datalink_header; |
proto | 111 | net/802/psnap.c | proto->string_name = "SNAP"; |
proto | 112 | net/802/psnap.c | proto->next = snap_list; |
proto | 113 | net/802/psnap.c | snap_list = proto; |
proto | 116 | net/802/psnap.c | return proto; |
proto | 361 | net/ax25/af_ax25.c | static void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto) |
proto | 366 | net/ax25/af_ax25.c | if (sk->type == SOCK_RAW && sk->protocol == proto && sk->rmem_alloc <= sk->rcvbuf) { |
proto | 20 | net/ethernet/pe2.c | struct datalink_proto *proto; |
proto | 22 | net/ethernet/pe2.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 23 | net/ethernet/pe2.c | if (proto != NULL) { |
proto | 24 | net/ethernet/pe2.c | proto->type_len = 0; |
proto | 25 | net/ethernet/pe2.c | proto->header_length = 0; |
proto | 26 | net/ethernet/pe2.c | proto->datalink_header = pEII_datalink_header; |
proto | 27 | net/ethernet/pe2.c | proto->string_name = "EtherII"; |
proto | 30 | net/ethernet/pe2.c | return proto; |
proto | 97 | net/ipv4/af_inet.c | extern struct proto packet_prot; |
proto | 110 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
proto | 128 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
proto | 580 | net/ipv4/af_inet.c | struct proto *prot; |
proto | 1307 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
proto | 463 | net/ipv4/packet.c | struct proto packet_prot = |
proto | 58 | net/ipv4/proc.c | get__netinfo(struct proto *pro, char *buffer, int format, char **start, off_t offset, int length) |
proto | 175 | net/ipv4/proc.c | extern struct proto packet_prot; |
proto | 351 | net/ipv4/raw.c | struct proto raw_prot = { |
proto | 635 | net/ipv4/tcp.c | struct proto *prot; |
proto | 1716 | net/ipv4/tcp.c | struct proto *prot; |
proto | 2608 | net/ipv4/tcp.c | struct proto *prot =(struct proto *)sk->prot; |
proto | 2764 | net/ipv4/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
proto | 5518 | net/ipv4/tcp.c | struct proto tcp_prot = { |
proto | 757 | net/ipv4/udp.c | struct proto udp_prot = { |