taglinefilesource code
protocol618arch/sparc/kernel/sys_sunos.cextern asmlinkage int sys_socket(int family, int type, int protocol);
protocol614drivers/block/ide-tape.cunsigned protocol  :2;  /* Protocol type */
protocol1036drivers/block/ide-tape.cswitch (gcw.protocol) {
protocol1132drivers/block/ide-tape.cif (gcw.protocol !=2 ) {
protocol956drivers/isdn/isdn_net.cskb->protocol = isdn_net_type_trans(skb,ndev);
protocol960drivers/isdn/isdn_net.cskb->protocol = htons(ETH_P_IP);
protocol968drivers/isdn/isdn_net.cskb->protocol = *(unsigned short *)&(skb->data[0]);
protocol971drivers/isdn/isdn_net.cskb->protocol = htons(ETH_P_802_3);
protocol728drivers/isdn/isdn_ppp.cskb->protocol = htons(ETH_P_IPX);
protocol737drivers/isdn/isdn_ppp.cskb->protocol = htons(ETH_P_IP);
protocol759drivers/isdn/isdn_ppp.cskb->protocol = htons(ETH_P_IP);
protocol835drivers/isdn/teles/callc.cif (st->protocol == ISDN_PTYPE_1TR6) {
protocol1046drivers/isdn/teles/card.c(card->protocol == ISDN_PTYPE_1TR6) ?
protocol1141drivers/isdn/teles/card.c(card->protocol == ISDN_PTYPE_1TR6) ?
protocol1147drivers/isdn/teles/card.c(card->protocol == ISDN_PTYPE_1TR6) ?
protocol1426drivers/isdn/teles/card.cst->protocol = sp->teistack->protocol;
protocol1605drivers/isdn/teles/card.cif (!cards[i].protocol)
protocol209drivers/isdn/teles/isdnl3.cif (st->protocol == ISDN_PTYPE_1TR6) {
protocol260drivers/isdn/teles/isdnl3.cif (st->protocol == ISDN_PTYPE_1TR6)
protocol503drivers/isdn/teles/isdnl3.cswitch (st->protocol) {
protocol14drivers/isdn/teles/mod.cunsigned int    protocol;
protocol74drivers/isdn/teles/mod.cio[i].protocol  = ints[j];
protocol93drivers/isdn/teles/mod.cif (io[i].protocol) {
protocol97drivers/isdn/teles/mod.ccards[i].protocol  = io[i].protocol;
protocol101drivers/isdn/teles/mod.cif (cards[i].protocol)
protocol163drivers/isdn/teles/tei.cinit_tei(struct IsdnCardState *sp, int protocol)
protocol175drivers/isdn/teles/tei.csp->teistack->protocol = protocol;  /* struct is not initialized yet */
protocol185drivers/isdn/teles/tei.cst->protocol = protocol;
protocol229drivers/isdn/teles/tei.cinit_tei(cards[i].sp, cards[i].protocol);
protocol293drivers/isdn/teles/teles.hint             protocol;     /* EDSS1 or 1TR6 */
protocol345drivers/isdn/teles/teles.hint             protocol;  /* EDSS1 or 1TR6 */
protocol721drivers/net/3c501.cskb->protocol=eth_type_trans(skb,dev);
protocol623drivers/net/3c505.cskb->protocol=eth_type_trans(skb,dev);
protocol857drivers/net/3c507.cskb->protocol=eth_type_trans(skb,dev);
protocol619drivers/net/3c509.cskb->protocol=eth_type_trans(skb,dev);
protocol903drivers/net/3c59x.cskb->protocol = eth_type_trans(skb, dev);
protocol481drivers/net/8390.cskb->protocol=eth_type_trans(skb,dev);
protocol354drivers/net/apricot.cskb->protocol=eth_type_trans(skb,dev);
protocol2358drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
protocol2519drivers/net/arcnet.cskb->protocol=arcnetA_type_trans(skb,dev);
protocol2893drivers/net/arcnet.cskb->protocol=eth_type_trans(skb,dev);
protocol3037drivers/net/arcnet.cskb->protocol=arcnetS_type_trans(skb,dev);
protocol545drivers/net/at1700.cskb->protocol=eth_type_trans(skb, dev);
protocol694drivers/net/atp.cskb->protocol=eth_type_trans(skb,dev);
protocol1225drivers/net/de4x5.cskb->protocol=eth_type_trans(skb,dev);
protocol476drivers/net/de600.cif (skb->sk && (skb->sk->protocol == IPPROTO_TCP) &&
protocol627drivers/net/de600.cskb->protocol=eth_type_trans(skb,dev);
protocol722drivers/net/de620.cskb->protocol=eth_type_trans(skb,dev);
protocol932drivers/net/depca.cskb->protocol=eth_type_trans(skb,dev);
protocol179drivers/net/dlci.cskb->protocol = htons(hdr->PID);
protocol185drivers/net/dlci.cskb->protocol = htons(ETH_P_IP);
protocol1060drivers/net/eepro.cskb->protocol = eth_type_trans(skb,dev);  
protocol633drivers/net/eexpress.cskb->protocol = eth_type_trans(skb,dev);
protocol1051drivers/net/eth16i.cskb->protocol=eth_type_trans(skb, dev);
protocol1021drivers/net/ewrk3.cskb->protocol=eth_type_trans(skb,dev);
protocol525drivers/net/fmv18x.cskb->protocol=eth_type_trans(skb, dev);
protocol776drivers/net/hp100.cskb -> protocol = eth_type_trans( skb, dev );
protocol1376drivers/net/ibmtr.cskb->protocol=tr_type_trans(skb,dev);
protocol1038drivers/net/lance.cskb->protocol=eth_type_trans(skb,dev);
protocol88drivers/net/loopback.cskb->protocol=eth_type_trans(skb,dev);
protocol111drivers/net/new_tunnel.cprintk("--- ip protocol: %d\n", ip->protocol);
protocol284drivers/net/new_tunnel.ciph->protocol    =  IPPROTO_IPIP;
protocol290drivers/net/new_tunnel.cskb->protocol    =  htons(ETH_P_IP);
protocol919drivers/net/ni52.cskb->protocol=eth_type_trans(skb,dev);
protocol653drivers/net/ni65.cskb->protocol=eth_type_trans(skb,dev);
protocol569drivers/net/pi2.cskb->protocol=htons(ETH_P_AX25);
protocol657drivers/net/pi2.cskb->protocol=ntohs(ETH_P_AX25);
protocol580drivers/net/plip.crcv->skb->protocol=eth_type_trans(rcv->skb, dev);
protocol223drivers/net/ppp.c__u8 protocol[2];
protocol1204drivers/net/ppp.cskb->protocol = proto;
protocol2505drivers/net/ppp.cswitch (npi.protocol) {
protocol2507drivers/net/ppp.cnpi.protocol = NP_IP;
protocol2517drivers/net/ppp.cnpi.mode = ppp->sc_npmode[npi.protocol];
protocol2530drivers/net/ppp.cif (npi.mode != ppp->sc_npmode[npi.protocol]) {
protocol2531drivers/net/ppp.cppp->sc_npmode[npi.protocol] = npi.mode;
protocol2960drivers/net/ppp.chdr->protocol[0] = 0;
protocol2961drivers/net/ppp.chdr->protocol[1] = proto;
protocol3028drivers/net/ppp.chdr->protocol[0] = proto >> 8;
protocol3029drivers/net/ppp.chdr->protocol[1] = proto;
protocol3087drivers/net/ppp.cswitch (ntohs (skb->protocol)) {
protocol1410drivers/net/pt.cskb->protocol = ntohs(ETH_P_AX25);
protocol1825drivers/net/pt.cskb->protocol=htons(ETH_P_AX25);
protocol557drivers/net/seeq8005.cskb->protocol=eth_type_trans(skb,dev);
protocol1612drivers/net/sk_g16.cskb->protocol=eth_type_trans(skb,dev);
protocol257drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP || (ntohs(ip->frag_off) & 0x1fff) ||
protocol260drivers/net/slhc.cif(ip->protocol != IPPROTO_TCP)
protocol393drivers/net/slip.cskb->protocol=htons(ETH_P_AX25);
protocol395drivers/net/slip.cskb->protocol=htons(ETH_P_IP);
protocol1529drivers/net/smc9194.cskb->protocol = eth_type_trans(skb, dev ); 
protocol369drivers/net/sunlance.cskb->protocol = eth_type_trans (skb,dev);
protocol622drivers/net/tulip.cskb->protocol=eth_type_trans(skb,dev);
protocol1678drivers/net/wavelan.cskb->protocol=eth_type_trans(skb,dev);
protocol573drivers/net/znet.cskb->protocol=eth_type_trans(skb,dev);
protocol133fs/nfs/nfsroot.cextern asmlinkage int sys_socket(int family, int type, int protocol);
protocol262fs/smbfs/inode.cif (server->protocol >= PROTOCOL_LANMAN2)
protocol503fs/smbfs/proc.cif (server->protocol > PROTOCOL_CORE) {
protocol1375fs/smbfs/proc.cif (server->protocol >= PROTOCOL_LANMAN2)
protocol1446fs/smbfs/proc.cif (server->protocol >= PROTOCOL_LANMAN1) {
protocol1541fs/smbfs/proc.cif (server->protocol >= PROTOCOL_LANMAN1) {
protocol1708fs/smbfs/proc.cserver->protocol = prots[i].prot;
protocol1713fs/smbfs/proc.cif (server->protocol > PROTOCOL_LANMAN1) {
protocol1725fs/smbfs/proc.cif (server->protocol >= PROTOCOL_NT1) {
protocol1740fs/smbfs/proc.cif (server->protocol >= PROTOCOL_NT1) {
protocol95include/linux/if_ppp.hint    protocol;  /* PPP procotol, e.g. PPP_IP */
protocol105include/linux/ip.h__u8  protocol;
protocol182include/linux/ip_fw.h__u16     protocol;  /* Which protocol are we talking? */
protocol94include/linux/net.hint  (*create)  (struct socket *sock, int protocol);
protocol101include/linux/skbuff.hunsigned short  protocol;    /* Packet protocol from driver.     */
protocol19include/linux/smb_fs_sb.henum smb_protocol  protocol;       /* The protocol this
protocol35include/net/icmp.hint redo, struct inet_protocol *protocol);
protocol3include/net/ipip.hint redo, struct inet_protocol *protocol);
protocol34include/net/protocol.hint redo, struct inet_protocol *protocol);
protocol38include/net/protocol.hstruct inet_protocol *protocol);
protocol40include/net/protocol.hunsigned char    protocol;
protocol25include/net/raw.h__u32 saddr, struct inet_protocol *protocol);
protocol244include/net/sock.hunsigned char    protocol;
protocol354include/net/sock.hint redo, struct inet_protocol *protocol);
protocol127include/net/tcp.h__u32, struct inet_protocol *protocol);
protocol132include/net/tcp.hstruct inet_protocol *protocol);
protocol35include/net/udp.h__u32 saddr, struct inet_protocol *protocol);
protocol48include/net/udp.hstruct inet_protocol *protocol);
protocol486net/appletalk/aarp.cskb->protocol = htons(ETH_P_ATALK);
protocol1124net/appletalk/ddp.cstatic int atalk_create(struct socket *sock, int protocol)
protocol375net/ax25/af_ax25.cif (sk->type == SOCK_RAW && sk->protocol == proto && sk->rmem_alloc <= sk->rcvbuf) {
protocol1043net/ax25/af_ax25.cstatic int ax25_create(struct socket *sock, int protocol)
protocol1050net/ax25/af_ax25.cif (protocol == 0 || protocol == AF_AX25)
protocol1051net/ax25/af_ax25.cprotocol = AX25_P_TEXT;
protocol1054net/ax25/af_ax25.cswitch (protocol) {
protocol1057net/ax25/af_ax25.cprotocol = AX25_P_TEXT;
protocol1092net/ax25/af_ax25.csk->protocol      = protocol;
protocol1168net/ax25/af_ax25.csk->protocol    = osk->protocol;
protocol1228net/ax25/af_ax25.creturn ax25_create(newsock, sk->protocol);
protocol2028net/ax25/af_ax25.c*asmptr = sk->protocol;
protocol2453net/ax25/af_ax25.cskb->protocol = htons (ETH_P_AX25);
protocol198net/ax25/ax25_in.cif (ax25->sk != NULL && ax25_dev_get_value(ax25->device, AX25_VALUES_TEXT) && ax25->sk->protocol == pid) {
protocol504net/ax25/ax25_subr.cskb->protocol = htons(ETH_P_AX25);
protocol600net/core/dev.ctype = skb->protocol;
protocol13net/ethernet/pe2.cskb->protocol = htons (ETH_P_IPX);
protocol572net/ipv4/af_inet.cstatic int inet_create(struct socket *sock, int protocol)
protocol589net/ipv4/af_inet.cif (protocol && protocol != IPPROTO_TCP) 
protocol594net/ipv4/af_inet.cprotocol = IPPROTO_TCP;
protocol600net/ipv4/af_inet.cif (protocol && protocol != IPPROTO_UDP) 
protocol605net/ipv4/af_inet.cprotocol = IPPROTO_UDP;
protocol616net/ipv4/af_inet.cif (!protocol) 
protocol623net/ipv4/af_inet.csk->num = protocol;
protocol632net/ipv4/af_inet.cif (!protocol) 
protocol639net/ipv4/af_inet.csk->num = protocol;
protocol651net/ipv4/af_inet.csk->protocol = protocol;
protocol678net/ipv4/af_inet.cif(sk->type==SOCK_RAW && protocol==IPPROTO_RAW)
protocol732net/ipv4/af_inet.creturn(inet_create(newsock,((struct sock *)(oldsock->data))->protocol));
protocol936net/ipv4/af_inet.cif (sock->state == SS_CONNECTING && sk->protocol == IPPROTO_TCP && (flags & O_NONBLOCK))
protocol975net/ipv4/af_inet.cif(sk->err && sk->protocol == IPPROTO_TCP)
protocol845net/ipv4/arp.cskb->protocol = htons (ETH_P_IP);
protocol301net/ipv4/icmp.cif(iph->protocol==IPPROTO_ICMP)
protocol444net/ipv4/icmp.chash = iph->protocol & (MAX_INET_PROTOS -1);
protocol466net/ipv4/icmp.cif (iph->protocol == ipprot->protocol && ipprot->err_handler) 
protocol650net/ipv4/icmp.c__u32 saddr, int redo, struct inet_protocol *protocol)
protocol431net/ipv4/igmp.cstruct inet_protocol *protocol)
protocol61net/ipv4/ip_forward.ciph->protocol  =  IPPROTO_IPIP;
protocol284net/ipv4/ip_forward.cskb2->protocol=htons(ETH_P_IP);
protocol127net/ipv4/ip_fragment.ciph->daddr == qp->iph->daddr && iph->protocol == qp->iph->protocol)
protocol249net/ipv4/ip_fw.cif (offset == 1 && ip->protocol == IPPROTO_TCP)
protocol252net/ipv4/ip_fw.cif (offset!=0 && (opt != 1) && (ip->protocol == IPPROTO_TCP ||
protocol253net/ipv4/ip_fw.cip->protocol == IPPROTO_UDP || ip->protocol == IPPROTO_ICMP))
protocol260net/ipv4/ip_fw.cif(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len))
protocol282net/ipv4/ip_fw.cswitch(ip->protocol) 
protocol316net/ipv4/ip_fw.cdprintf2("p=%d ",ip->protocol);
protocol323net/ipv4/ip_fw.cif (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP)
protocol327net/ipv4/ip_fw.cif (ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_UDP)
protocol457net/ipv4/ip_fw.cswitch(ip->protocol)
protocol469net/ipv4/ip_fw.cprintk("p=%d ",ip->protocol);
protocol473net/ipv4/ip_fw.cif(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP)
protocol477net/ipv4/ip_fw.cif(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP)
protocol535net/ipv4/ip_fw.cstrProt[ms->protocol==IPPROTO_TCP],
protocol695net/ipv4/ip_fw.cms->protocol = IPPROTO_TCP;
protocol824net/ipv4/ip_fw.cif (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP)
protocol836net/ipv4/ip_fw.cstrProt[iph->protocol==IPPROTO_TCP],
protocol842net/ipv4/ip_fw.cif (iph->protocol == ms->protocol &&
protocol864net/ipv4/ip_fw.cms->protocol = iph->protocol;
protocol883net/ipv4/ip_fw.cif (iph->protocol==IPPROTO_UDP) 
protocol938net/ipv4/ip_fw.cif (iph->protocol!=IPPROTO_UDP && iph->protocol!=IPPROTO_TCP)
protocol948net/ipv4/ip_fw.cstrProt[iph->protocol==IPPROTO_TCP],
protocol965net/ipv4/ip_fw.cif (iph->protocol==ms->protocol &&
protocol966net/ipv4/ip_fw.c(iph->saddr==ms->dst || iph->protocol==IPPROTO_UDP) && 
protocol986net/ipv4/ip_fw.cif (iph->protocol==IPPROTO_UDP)
protocol1591net/ipv4/ip_fw.cstrProt[ms->protocol==IPPROTO_TCP],
protocol471net/ipv4/ip_input.chash = iph->protocol & (SOCK_ARRAY_SIZE-1);
protocol481net/ipv4/ip_input.craw_sk=get_sock_raw(raw_sk, iph->protocol,  iph->saddr, iph->daddr);
protocol487net/ipv4/ip_input.csknext=get_sock_raw(raw_sk->next, iph->protocol, iph->saddr, iph->daddr);
protocol512net/ipv4/ip_input.chash = iph->protocol & (MAX_INET_PROTOS -1);
protocol517net/ipv4/ip_input.cif (ipprot->protocol != iph->protocol)
protocol120net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
protocol157net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
protocol304net/ipv4/ip_output.ciph->protocol = type;
protocol656net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
protocol694net/ipv4/ip_output.ciph->protocol=type;
protocol823net/ipv4/ip_output.cskb->protocol = htons(ETH_P_IP);
protocol890net/ipv4/ip_output.ciph->protocol = type;
protocol54net/ipv4/ipip.cint redo, struct inet_protocol *protocol)
protocol245net/ipv4/ipmr.cipmr_forward(skb, skb->protocol);
protocol270net/ipv4/ipmr.cskb->ip_hdr->protocol = 0;      /* Flag to the kernel this is a route add */
protocol345net/ipv4/ipmr.cskb->protocol=is_frag;
protocol196net/ipv4/packet.cskb->protocol = proto;
protocol461net/ipv4/packet.csaddr->spkt_protocol = skb->protocol;
protocol142net/ipv4/protocol.cif (p->protocol == prot) 
protocol157net/ipv4/protocol.chash = prot->protocol & (MAX_INET_PROTOS - 1);
protocol169net/ipv4/protocol.cif (p2->protocol == prot->protocol) 
protocol188net/ipv4/protocol.chash = prot->protocol & (MAX_INET_PROTOS - 1);
protocol214net/ipv4/protocol.cif (p->next != NULL && p->next->protocol == prot->protocol) 
protocol80net/ipv4/raw.c__u32 saddr, struct inet_protocol *protocol)
protocol84net/ipv4/raw.cif (protocol == NULL) 
protocol86net/ipv4/raw.csk = (struct sock *) protocol->data;
protocol513net/ipv4/tcp.c__u32 saddr, struct inet_protocol *protocol)
protocol1512net/ipv4/tcp_input.c__u32 saddr, int redo, struct inet_protocol * protocol)
protocol155net/ipv4/udp.c__u32 saddr, struct inet_protocol *protocol)
protocol593net/ipv4/udp.c__u32 saddr, int redo, struct inet_protocol *protocol)
protocol676net/ipx/af_ipx.cskb->protocol = htons(ETH_P_IPX);
protocol1603net/ipx/af_ipx.cipx_create(struct socket *sock, int protocol)
protocol410net/netrom/af_netrom.cstatic int nr_create(struct socket *sock, int protocol)
protocol415net/netrom/af_netrom.cif (sock->type != SOCK_SEQPACKET || protocol != 0)
protocol434net/netrom/af_netrom.csk->protocol      = protocol;
protocol539net/netrom/af_netrom.csk->protocol    = osk->protocol;
protocol598net/netrom/af_netrom.creturn nr_create(newsock, sk->protocol);
protocol64net/netrom/nr_dev.cskb->protocol = htons(ETH_P_IP);
protocol530net/socket.casmlinkage int sys_socket(int family, int type, int protocol)
protocol565net/socket.ctype != SOCK_PACKET) || protocol < 0)
protocol583net/socket.cif ((i = sock->ops->create(sock, protocol)) < 0) 
protocol604net/socket.casmlinkage int sys_socketpair(int family, int type, int protocol, int usockvec[2])
protocol615net/socket.cif ((fd1 = sys_socket(family, type, protocol)) < 0) 
protocol628net/socket.cif ((fd2 = sys_socket(family, type, protocol)) < 0) 
protocol279net/unix/af_unix.cstatic int unix_create(struct socket *sock, int protocol)
protocol282net/unix/af_unix.cif(protocol && protocol != PF_UNIX)
protocol314net/unix/af_unix.csk->protocol=0;