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 | 539 | drivers/isdn/isdn_net.c | unsigned short proto = ETH_P_IP; |
proto | 548 | drivers/isdn/isdn_net.c | proto = ntohs(*(unsigned short *)&buf[0]); |
proto | 552 | drivers/isdn/isdn_net.c | proto = ntohs(*(unsigned short *)&buf[12]); |
proto | 556 | drivers/isdn/isdn_net.c | proto = ntohs(*(unsigned short *)&buf[2]); |
proto | 577 | drivers/isdn/isdn_net.c | switch (proto) { |
proto | 60 | drivers/isdn/isdn_ppp.c | struct sk_buff *skb, int proto); |
proto | 564 | drivers/isdn/isdn_ppp.c | int proto; |
proto | 567 | drivers/isdn/isdn_ppp.c | proto = skb->data[0]; |
proto | 570 | drivers/isdn/isdn_ppp.c | proto = ((int) skb->data[0] << 8) + skb->data[1]; |
proto | 573 | drivers/isdn/isdn_ppp.c | if (proto == PPP_MP) { |
proto | 578 | drivers/isdn/isdn_ppp.c | printk(KERN_DEBUG "recv: %d/%04x/%d -> %02x %02x %02x %02x %02x %02x\n", lp->ppp_minor, proto , |
proto | 699 | drivers/isdn/isdn_ppp.c | isdn_ppp_push_higher(net_dev, lp, skb , proto); |
proto | 706 | drivers/isdn/isdn_ppp.c | static void isdn_ppp_push_higher(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *skb,int proto) |
proto | 710 | drivers/isdn/isdn_ppp.c | if (proto < 0) { /* MP, oder normales Paket bei REJ_MP, MP Pakete gehen bei REJ zum pppd */ |
proto | 712 | drivers/isdn/isdn_ppp.c | proto = (unsigned char) skb->data[0]; |
proto | 715 | drivers/isdn/isdn_ppp.c | proto = ((int) (unsigned char) skb->data[0] << 8) + (unsigned char) skb->data[1]; |
proto | 721 | drivers/isdn/isdn_ppp.c | printk(KERN_DEBUG "push, skb %d %04x\n",skb->len,proto); |
proto | 724 | drivers/isdn/isdn_ppp.c | switch (proto) { |
proto | 771 | drivers/isdn/isdn_ppp.c | skb->data[2] = (proto>>8); |
proto | 772 | drivers/isdn/isdn_ppp.c | skb->data[3] = proto & 0xff; |
proto | 794 | drivers/isdn/isdn_ppp.c | int proto = PPP_IP; /* 0x21 */ |
proto | 833 | drivers/isdn/isdn_ppp.c | proto = PPP_VJC_COMP; |
proto | 837 | drivers/isdn/isdn_ppp.c | proto = PPP_VJC_UNCOMP; |
proto | 844 | drivers/isdn/isdn_ppp.c | printk(KERN_DEBUG "xmit, skb %d %04x\n",skb->len,proto); |
proto | 858 | drivers/isdn/isdn_ppp.c | skb->data[6] = proto; /* PID compression */ |
proto | 865 | drivers/isdn/isdn_ppp.c | skb->data[8] = proto; /* PID compression */ |
proto | 867 | drivers/isdn/isdn_ppp.c | proto = PPP_MP; /* MP Protocol, 0x003d */ |
proto | 872 | drivers/isdn/isdn_ppp.c | skb->data[2] = proto >> 8; |
proto | 873 | drivers/isdn/isdn_ppp.c | skb->data[3] = proto & 0xff; |
proto | 260 | drivers/net/ppp.c | int proto; |
proto | 1187 | drivers/net/ppp.c | ppp_rcv_rx (struct ppp *ppp, __u16 proto, __u8 * data, int count) |
proto | 1204 | drivers/net/ppp.c | skb->protocol = proto; |
proto | 1221 | drivers/net/ppp.c | rcv_proto_ip (struct ppp *ppp, __u16 proto, __u8 * data, int count) |
proto | 1234 | drivers/net/ppp.c | rcv_proto_ipx (struct ppp *ppp, __u16 proto, __u8 * data, int count) |
proto | 1246 | drivers/net/ppp.c | rcv_proto_vjc_comp (struct ppp *ppp, __u16 proto, |
proto | 1266 | drivers/net/ppp.c | rcv_proto_vjc_uncomp (struct ppp *ppp, __u16 proto, |
proto | 1285 | drivers/net/ppp.c | rcv_proto_unknown (struct ppp *ppp, __u16 proto, |
proto | 1316 | drivers/net/ppp.c | PUTC (proto >> 8); |
proto | 1317 | drivers/net/ppp.c | PUTC (proto); |
proto | 1456 | drivers/net/ppp.c | rcv_proto_ccp (struct ppp *ppp, __u16 proto, __u8 *dp, int len) |
proto | 1459 | drivers/net/ppp.c | return rcv_proto_unknown (ppp, proto, dp, len); |
proto | 1467 | drivers/net/ppp.c | rcv_proto_lqr (struct ppp *ppp, __u16 proto, __u8 * data, int len) |
proto | 1469 | drivers/net/ppp.c | return rcv_proto_unknown (ppp, proto, data, len); |
proto | 1477 | drivers/net/ppp.c | __u16 proto = PPP_PROTOCOL (data); |
proto | 1495 | drivers/net/ppp.c | while (proto_ptr->proto != 0 && proto_ptr->proto != proto) |
proto | 1500 | drivers/net/ppp.c | if ((*proto_ptr->func) (ppp, proto, |
proto | 1516 | drivers/net/ppp.c | int addr, ctrl, proto; |
proto | 1574 | drivers/net/ppp.c | proto = (__u16) *data++; |
proto | 1575 | drivers/net/ppp.c | if ((proto & 1) == 0) { |
proto | 1576 | drivers/net/ppp.c | proto = (proto << 8) | (__u16) *data++; |
proto | 1584 | drivers/net/ppp.c | *(--data) = proto; |
proto | 1585 | drivers/net/ppp.c | *(--data) = proto >> 8; |
proto | 1595 | drivers/net/ppp.c | if (proto == PPP_COMP) { |
proto | 1867 | drivers/net/ppp.c | int proto; |
proto | 1886 | drivers/net/ppp.c | proto = PPP_PROTOCOL (data); |
proto | 1897 | drivers/net/ppp.c | if ((ppp->flags & SC_COMP_PROT) == 0 || (proto & 0xFF00)) |
proto | 1898 | drivers/net/ppp.c | ppp_stuff_char (ppp, buf, proto >> 8); |
proto | 1900 | drivers/net/ppp.c | ppp_stuff_char (ppp, buf, proto); |
proto | 1953 | drivers/net/ppp.c | int proto; |
proto | 1966 | drivers/net/ppp.c | proto = PPP_PROTOCOL (data); |
proto | 1974 | drivers/net/ppp.c | (proto != PPP_LCP) && |
proto | 1975 | drivers/net/ppp.c | (proto != PPP_CCP)) { |
proto | 2013 | drivers/net/ppp.c | ppp_dev_xmit_lower (ppp, buf, data, count, !!(proto & 0xFF00)); |
proto | 2849 | drivers/net/ppp.c | int proto = PPP_IP; |
proto | 2944 | drivers/net/ppp.c | proto = PPP_VJC_COMP; |
proto | 2948 | drivers/net/ppp.c | proto = PPP_VJC_UNCOMP; |
proto | 2961 | drivers/net/ppp.c | hdr->protocol[1] = proto; |
proto | 2974 | drivers/net/ppp.c | __u8 *data, int len, int proto) |
proto | 3028 | drivers/net/ppp.c | hdr->protocol[0] = proto >> 8; |
proto | 3029 | drivers/net/ppp.c | hdr->protocol[1] = 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 | 79 | include/net/ip_masq.h | extern struct ip_masq *ip_masq_new(struct device *dev, int proto, __u32 saddr, __u16 sport, __u32 daddr, __u16 dport, unsigned flags); |
proto | 112 | include/net/ip_masq.h | extern int register_ip_masq_app(struct ip_masq_app *mapp, unsigned short proto, __u16 port); |
proto | 118 | include/net/ip_masq.h | extern struct ip_masq_app * ip_masq_app_get(unsigned short proto, __u16 port); |
proto | 21 | include/net/raw.h | extern struct proto raw_prot; |
proto | 205 | include/net/sock.h | struct proto *prot; |
proto | 445 | include/net/sock.h | extern unsigned short get_new_socknum(struct proto *, |
proto | 448 | include/net/sock.h | extern struct sock *get_sock(struct proto *, unsigned short, |
proto | 122 | include/net/tcp.h | extern struct proto tcp_prot; |
proto | 154 | include/net/tcp.h | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl); |
proto | 31 | include/net/udp.h | extern struct proto udp_prot; |
proto | 21 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 23 | net/802/p8022.c | for (proto = p8022_list; |
proto | 24 | net/802/p8022.c | ((proto != NULL) && (*(proto->type) != type)); |
proto | 25 | net/802/p8022.c | proto = proto->next) |
proto | 28 | net/802/p8022.c | return proto; |
proto | 34 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 36 | net/802/p8022.c | proto = find_8022_client(*(skb->h.raw)); |
proto | 37 | net/802/p8022.c | if (proto != NULL) { |
proto | 40 | net/802/p8022.c | return proto->rcvfunc(skb, dev, pt); |
proto | 89 | net/802/p8022.c | struct datalink_proto *proto; |
proto | 94 | net/802/p8022.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 95 | net/802/p8022.c | if (proto != NULL) { |
proto | 96 | net/802/p8022.c | proto->type[0] = type; |
proto | 97 | net/802/p8022.c | proto->type_len = 1; |
proto | 98 | net/802/p8022.c | proto->rcvfunc = rcvfunc; |
proto | 99 | net/802/p8022.c | proto->header_length = 3; |
proto | 100 | net/802/p8022.c | proto->datalink_header = p8022_datalink_header; |
proto | 101 | net/802/p8022.c | proto->string_name = "802.2"; |
proto | 102 | net/802/p8022.c | proto->next = p8022_list; |
proto | 103 | net/802/p8022.c | p8022_list = proto; |
proto | 106 | net/802/p8022.c | return proto; |
proto | 23 | net/802/p8022tr.c | struct datalink_proto *proto; |
proto | 25 | net/802/p8022tr.c | for (proto = p8022tr_list; |
proto | 26 | net/802/p8022tr.c | ((proto != NULL) && (*(proto->type) != type)); |
proto | 27 | net/802/p8022tr.c | proto = proto->next) |
proto | 30 | net/802/p8022tr.c | return proto; |
proto | 36 | net/802/p8022tr.c | struct datalink_proto *proto; |
proto | 38 | net/802/p8022tr.c | proto = find_8022tr_client(*(skb->h.raw)); |
proto | 39 | net/802/p8022tr.c | if (proto != NULL) { |
proto | 42 | net/802/p8022tr.c | return proto->rcvfunc(skb, dev, pt); |
proto | 96 | net/802/p8022tr.c | struct datalink_proto *proto; |
proto | 101 | net/802/p8022tr.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 102 | net/802/p8022tr.c | if (proto != NULL) { |
proto | 103 | net/802/p8022tr.c | proto->type[0] = type; |
proto | 104 | net/802/p8022tr.c | proto->type_len = 1; |
proto | 105 | net/802/p8022tr.c | proto->rcvfunc = rcvfunc; |
proto | 106 | net/802/p8022tr.c | proto->header_length = 3; |
proto | 107 | net/802/p8022tr.c | proto->datalink_header = p8022tr_datalink_header; |
proto | 108 | net/802/p8022tr.c | proto->string_name = "802.2TR"; |
proto | 109 | net/802/p8022tr.c | proto->next = p8022tr_list; |
proto | 110 | net/802/p8022tr.c | p8022tr_list = proto; |
proto | 113 | net/802/p8022tr.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 | 31 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 33 | net/802/psnap.c | for (proto = snap_list; proto != NULL && memcmp(proto->type, desc, 5) ; proto = proto->next); |
proto | 34 | net/802/psnap.c | return proto; |
proto | 52 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 54 | net/802/psnap.c | proto = find_snap_client(skb->h.raw); |
proto | 55 | net/802/psnap.c | if (proto != NULL) |
proto | 65 | net/802/psnap.c | return proto->rcvfunc(skb, dev, &psnap_packet_type); |
proto | 107 | net/802/psnap.c | struct datalink_proto *proto; |
proto | 112 | net/802/psnap.c | proto = (struct datalink_proto *) kmalloc(sizeof(*proto), GFP_ATOMIC); |
proto | 113 | net/802/psnap.c | if (proto != NULL) |
proto | 115 | net/802/psnap.c | memcpy(proto->type, desc,5); |
proto | 116 | net/802/psnap.c | proto->type_len = 5; |
proto | 117 | net/802/psnap.c | proto->rcvfunc = rcvfunc; |
proto | 118 | net/802/psnap.c | proto->header_length = 5+snap_dl->header_length; |
proto | 119 | net/802/psnap.c | proto->datalink_header = snap_datalink_header; |
proto | 120 | net/802/psnap.c | proto->string_name = "SNAP"; |
proto | 121 | net/802/psnap.c | proto->next = snap_list; |
proto | 122 | net/802/psnap.c | snap_list = proto; |
proto | 125 | net/802/psnap.c | return proto; |
proto | 370 | net/ax25/af_ax25.c | static void ax25_send_to_raw(struct sock *sk, struct sk_buff *skb, int proto) |
proto | 375 | 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 | 105 | net/ipv4/af_inet.c | extern struct proto packet_prot; |
proto | 118 | net/ipv4/af_inet.c | static int sk_inuse(struct proto *prot, int num) |
proto | 136 | net/ipv4/af_inet.c | unsigned short get_new_socknum(struct proto *prot, unsigned short base) |
proto | 578 | net/ipv4/af_inet.c | struct proto *prot; |
proto | 1302 | net/ipv4/af_inet.c | struct sock *get_sock(struct proto *prot, unsigned short num, |
proto | 42 | net/ipv4/ip_masq.c | static __inline__ const char * masq_proto_name(unsigned proto) |
proto | 44 | net/ipv4/ip_masq.c | return strProt[proto==IPPROTO_TCP]; |
proto | 91 | net/ipv4/ip_masq.c | ip_masq_hash_key(unsigned proto, __u32 addr, __u16 port) |
proto | 93 | net/ipv4/ip_masq.c | return (proto^ntohl(addr)^ntohs(port)) & (IP_MASQ_TAB_SIZE-1); |
proto | 288 | net/ipv4/ip_masq.c | struct ip_masq * ip_masq_new(struct device *dev, int proto, __u32 saddr, __u16 sport, __u32 daddr, __u16 dport, unsigned mflags) |
proto | 295 | net/ipv4/ip_masq.c | free_ports_p = &ip_masq_free_ports[proto==IPPROTO_TCP]; |
proto | 300 | net/ipv4/ip_masq.c | masq_proto_name(proto)); |
proto | 307 | net/ipv4/ip_masq.c | masq_proto_name(proto)); |
proto | 314 | net/ipv4/ip_masq.c | ms->protocol = proto; |
proto | 321 | net/ipv4/ip_masq.c | if (proto == IPPROTO_UDP) |
proto | 344 | net/ipv4/ip_masq.c | mst = ip_masq_getbym(proto, ms->maddr, ms->mport); |
proto | 41 | net/ipv4/ip_masq_app.c | static __inline__ const char * masq_proto_name(unsigned proto) |
proto | 43 | net/ipv4/ip_masq_app.c | return strProt[proto==IPPROTO_TCP]; |
proto | 48 | net/ipv4/ip_masq_app.c | #define IP_MASQ_APP_HASH(proto, port) ((port^proto) & (IP_MASQ_APP_TAB_SIZE-1)) |
proto | 49 | net/ipv4/ip_masq_app.c | #define IP_MASQ_APP_TYPE(proto, port) ( proto<<16 | port ) |
proto | 73 | net/ipv4/ip_masq_app.c | int register_ip_masq_app(struct ip_masq_app *mapp, unsigned short proto, __u16 port) |
proto | 81 | net/ipv4/ip_masq_app.c | mapp->type = IP_MASQ_APP_TYPE(proto, port); |
proto | 83 | net/ipv4/ip_masq_app.c | hash = IP_MASQ_APP_HASH(proto, port); |
proto | 136 | net/ipv4/ip_masq_app.c | struct ip_masq_app * ip_masq_app_get(unsigned short proto, __u16 port) |
proto | 143 | net/ipv4/ip_masq_app.c | type = IP_MASQ_APP_TYPE(proto,port); |
proto | 144 | net/ipv4/ip_masq_app.c | hash = IP_MASQ_APP_HASH(proto,port); |
proto | 133 | net/ipv4/packet.c | unsigned short proto=0; |
proto | 151 | net/ipv4/packet.c | proto=saddr->spkt_protocol; |
proto | 196 | net/ipv4/packet.c | skb->protocol = proto; |
proto | 480 | 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 | 179 | net/ipv4/proc.c | extern struct proto packet_prot; |
proto | 351 | net/ipv4/raw.c | struct proto raw_prot = { |
proto | 901 | net/ipv4/tcp.c | struct proto *prot; |
proto | 2141 | net/ipv4/tcp.c | struct proto tcp_prot = { |
proto | 316 | net/ipv4/tcp_output.c | struct proto *prot; |
proto | 494 | net/ipv4/tcp_output.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
proto | 571 | net/ipv4/tcp_output.c | struct proto *prot =(struct proto *)sk->prot; |
proto | 753 | net/ipv4/udp.c | struct proto udp_prot = { |