Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 531) sorted by relevance

12345678910>>...22

/linux-2.4.37.9/net/ax25/
Dax25_iface.c57 struct protocol_struct *protocol; in ax25_protocol_register() local
66 if ((protocol = kmalloc(sizeof(*protocol), GFP_ATOMIC)) == NULL) in ax25_protocol_register()
69 protocol->pid = pid; in ax25_protocol_register()
70 protocol->func = func; in ax25_protocol_register()
75 protocol->next = protocol_list; in ax25_protocol_register()
76 protocol_list = protocol; in ax25_protocol_register()
85 struct protocol_struct *s, *protocol = protocol_list; in ax25_protocol_release() local
88 if (protocol == NULL) in ax25_protocol_release()
94 if (protocol->pid == pid) { in ax25_protocol_release()
95 protocol_list = protocol->next; in ax25_protocol_release()
[all …]
/linux-2.4.37.9/drivers/block/paride/
DConfig.in21 comment 'Parallel IDE protocol modules'
22 dep_tristate ' ATEN EH-100 protocol' CONFIG_PARIDE_ATEN $CONFIG_PARIDE
23 dep_tristate ' MicroSolutions backpack (Series 5) protocol' CONFIG_PARIDE_BPCK $CONFIG_PARIDE
24 dep_tristate ' MicroSolutions backpack (Series 6) protocol' CONFIG_PARIDE_BPCK6 $CONFIG_PARIDE
25 dep_tristate ' DataStor Commuter protocol' CONFIG_PARIDE_COMM $CONFIG_PARIDE
26 dep_tristate ' DataStor EP-2000 protocol' CONFIG_PARIDE_DSTR $CONFIG_PARIDE
27 dep_tristate ' FIT TD-2000 protocol' CONFIG_PARIDE_FIT2 $CONFIG_PARIDE
28 dep_tristate ' FIT TD-3000 protocol' CONFIG_PARIDE_FIT3 $CONFIG_PARIDE
29 dep_tristate ' Shuttle EPAT/EPEZ protocol' CONFIG_PARIDE_EPAT $CONFIG_PARIDE
36 dep_tristate ' Shuttle EPIA protocol' CONFIG_PARIDE_EPIA $CONFIG_PARIDE
[all …]
/linux-2.4.37.9/net/ipv4/
Dprotocol.c58 protocol: IPPROTO_IGMP,
71 protocol: IPPROTO_TCP,
82 protocol: IPPROTO_UDP,
92 protocol: IPPROTO_ICMP,
113 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet_add_protocol()
125 if (p2->protocol == prot->protocol) { in inet_add_protocol()
144 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet_del_protocol()
154 if (p != NULL && p->protocol == prot->protocol) in inet_del_protocol()
174 if (p->next != NULL && p->next->protocol == prot->protocol) in inet_del_protocol()
Dip_input.c159 u8 protocol = skb->nh.iph->protocol; in ip_call_ra_chain() local
169 if (sk && sk->num == protocol in ip_call_ra_chain()
204 if (ipprot->protocol == iph->protocol) { in ip_run_ipprot()
238 int protocol = skb->nh.iph->protocol; in ip_local_deliver_finish() local
239 int hash = protocol & (MAX_INET_PROTOS - 1); in ip_local_deliver_finish()
255 ipprot->protocol == protocol) { in ip_local_deliver_finish()
Daf_inet.c319 static int inet_create(struct socket *sock, int protocol) in inet_create() argument
337 if (protocol == answer->protocol) { in inet_create()
338 if (protocol != IPPROTO_IP) in inet_create()
342 if (IPPROTO_IP == protocol) { in inet_create()
343 protocol = answer->protocol; in inet_create()
346 if (IPPROTO_IP == answer->protocol) in inet_create()
357 if (!protocol) in inet_create()
367 sk->num = protocol; in inet_create()
368 if (IPPROTO_RAW == protocol) in inet_create()
385 sk->protocol = protocol; in inet_create()
[all …]
/linux-2.4.37.9/Documentation/isdn/
DREADME.concap1 Description of the "concap" encapsulation protocol interface
5 drivers that need to process an encapsulation protocol.
6 It is assumed that the protocol interacts with a linux network device by
22 The encapsulation protocol used on top of WAN connections or permanent
28 encapsulation protocols. The encapsulation protocol is configured by a
31 depending on the currently configured encapsulation protocol.
34 protocol which is unique to the hardware type of the interface. The LAN
37 encapsulation protocol directly (usually by just providing a hard_header()
43 The configurability of the encapsulation protocol to be used
64 protocol, complexity could be reduced and maintainability could be
[all …]
/linux-2.4.37.9/net/ipv4/ipvs/
Dip_vs_core.c191 ct = ip_vs_ct_in_get(iph->protocol, snet, 0, in ip_vs_sched_persist()
194 ct = ip_vs_ct_in_get(iph->protocol, snet, 0, in ip_vs_sched_persist()
215 ct = ip_vs_conn_new(iph->protocol, in ip_vs_sched_persist()
222 ct = ip_vs_conn_new(iph->protocol, in ip_vs_sched_persist()
248 ct = ip_vs_ct_in_get(iph->protocol, snet, 0, in ip_vs_sched_persist()
276 ct = ip_vs_conn_new(iph->protocol, in ip_vs_sched_persist()
296 cp = ip_vs_conn_new(iph->protocol, in ip_vs_sched_persist()
363 cp = ip_vs_conn_new(iph->protocol, in ip_vs_schedule()
412 cp = ip_vs_conn_new(iph->protocol, in ip_vs_leave()
554 if (ciph->protocol != IPPROTO_UDP && ciph->protocol != IPPROTO_TCP) in ip_vs_out_icmp()
[all …]
Dip_vs_conn.c143 hash = ip_vs_conn_hashkey(cp->protocol, cp->caddr, cp->cport); in ip_vs_conn_hash()
174 hash = ip_vs_conn_hashkey(cp->protocol, cp->caddr, cp->cport); in ip_vs_conn_unhash()
198 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port) in __ip_vs_conn_in_get() argument
204 hash = ip_vs_conn_hashkey(protocol, s_addr, s_port); in __ip_vs_conn_in_get()
214 protocol==cp->protocol) { in __ip_vs_conn_in_get()
228 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port) in ip_vs_conn_in_get() argument
232 cp = __ip_vs_conn_in_get(protocol, s_addr, s_port, d_addr, d_port); in ip_vs_conn_in_get()
234 cp = __ip_vs_conn_in_get(protocol, s_addr, 0, d_addr, d_port); in ip_vs_conn_in_get()
237 ip_vs_proto_name(protocol), in ip_vs_conn_in_get()
247 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port) in ip_vs_ct_in_get() argument
[all …]
Dip_vs_app.c157 if (cp->protocol != IPPROTO_TCP && cp->protocol != IPPROTO_UDP) in ip_vs_bind_app()
169 vapp = ip_vs_app_get(cp->protocol, cp->vport); in ip_vs_bind_app()
188 if (cp->protocol != IPPROTO_TCP && cp->protocol != IPPROTO_UDP) in ip_vs_unbind_app()
309 if (cp->protocol == IPPROTO_TCP) { in ip_vs_app_pkt_out()
327 if (diff != 0 && cp->protocol == IPPROTO_TCP) in ip_vs_app_pkt_out()
366 if (cp->protocol == IPPROTO_TCP) { in ip_vs_app_pkt_in()
384 if (diff != 0 && cp->protocol == IPPROTO_TCP) in ip_vs_app_pkt_in()
Dip_vs_ctl.c284 hash = ip_vs_svc_hashkey(svc->protocol, svc->addr, svc->port); in ip_vs_svc_hash()
336 __ip_vs_service_get(__u16 protocol, __u32 vaddr, __u16 vport) in __ip_vs_service_get() argument
345 hash = ip_vs_svc_hashkey(protocol, vaddr, vport); in __ip_vs_service_get()
352 && (svc->protocol == protocol)) { in __ip_vs_service_get()
391 ip_vs_service_get(__u32 fwmark, __u16 protocol, __u32 vaddr, __u16 vport) in ip_vs_service_get() argument
407 svc = __ip_vs_service_get(protocol, vaddr, vport); in ip_vs_service_get()
410 && protocol == IPPROTO_TCP in ip_vs_service_get()
417 svc = __ip_vs_service_get(protocol, vaddr, FTPPORT); in ip_vs_service_get()
425 svc = __ip_vs_service_get(protocol, vaddr, 0); in ip_vs_service_get()
432 fwmark, ip_vs_proto_name(protocol), in ip_vs_service_get()
[all …]
/linux-2.4.37.9/net/ipv6/
Dprotocol.c50 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet6_add_protocol()
62 if (p2->protocol == prot->protocol) { in inet6_add_protocol()
81 hash = prot->protocol & (MAX_INET_PROTOS - 1); in inet6_del_protocol()
91 if (p != NULL && p->protocol == prot->protocol) in inet6_del_protocol()
111 if (p->next != NULL && p->next->protocol == prot->protocol) in inet6_del_protocol()
Daf_inet6.c113 static int inet6_create(struct socket *sock, int protocol) in inet6_create() argument
130 if (protocol == answer->protocol) { in inet6_create()
131 if (protocol != IPPROTO_IP) in inet6_create()
135 if (IPPROTO_IP == protocol) { in inet6_create()
136 protocol = answer->protocol; in inet6_create()
139 if (IPPROTO_IP == answer->protocol) in inet6_create()
150 if (!protocol) in inet6_create()
162 sk->num = protocol; in inet6_create()
163 if (IPPROTO_RAW == protocol) in inet6_create()
170 sk->protocol = protocol; in inet6_create()
[all …]
/linux-2.4.37.9/drivers/net/
Dpppox.c108 if (proto[sk->protocol]->ioctl) in pppox_ioctl()
109 err = (*proto[sk->protocol]->ioctl)(sock, cmd, arg); in pppox_ioctl()
119 static int pppox_create(struct socket *sock, int protocol) in pppox_create() argument
123 if (protocol < 0 || protocol > PX_MAX_PROTO) in pppox_create()
126 if (proto[protocol] == NULL) in pppox_create()
129 err = (*proto[protocol]->create)(sock); in pppox_create()
/linux-2.4.37.9/drivers/usb/
Dprinter.c144 } protocol[USBLP_MAX_PROTOCOLS]; member
171 dbg("protocol[%d].alt_setting=%d", p, usblp->protocol[p].alt_setting); in usblp_dump()
172 dbg("protocol[%d].epwrite=%p", p, usblp->protocol[p].epwrite); in usblp_dump()
173 dbg("protocol[%d].epread=%p", p, usblp->protocol[p].epread); in usblp_dump()
222 static int usblp_set_protocol(struct usblp *usblp, int protocol);
240 index = (usblp->ifnum<<8)|usblp->protocol[usblp->current_protocol].alt_setting; in usblp_ctrl_msg()
490 if (usblp->protocol[i].alt_setting >= 0) in usblp_ioctl()
835 int protocol; in usblp_probe() local
904 protocol = usblp_select_alts(usblp); in usblp_probe()
905 if (protocol < 0) { in usblp_probe()
[all …]
/linux-2.4.37.9/include/net/
Dpkt_cls.h24 u32 protocol; member
69 u32 protocol = skb->protocol; in tc_classify() local
72 if ((tp->protocol == protocol || in tc_classify()
73 tp->protocol == __constant_htons(ETH_P_ALL)) && in tc_classify()
Dip_vs.h104 u_int16_t protocol; member
155 u_int16_t protocol; member
188 u_int16_t protocol; member
415 __u16 protocol; /* Which protocol (TCP/UDP) */ member
457 __u16 protocol; /* which protocol (TCP/UDP) */ member
501 __u16 protocol; /* which protocol (TCP/UDP) */ member
595 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port);
597 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port);
599 (int protocol, __u32 s_addr, __u16 s_port, __u32 d_addr, __u16 d_port);
715 __u16 protocol,
[all …]
Dprotocol.h42 unsigned char protocol; member
58 unsigned char protocol; member
72 int protocol; /* This is the L4 protocol number. */ member
/linux-2.4.37.9/net/ipv4/netfilter/
Dip_fw_compat_masq.c46 if (iph->protocol != IPPROTO_ICMP in do_masquerade()
47 && iph->protocol != IPPROTO_TCP in do_masquerade()
48 && iph->protocol != IPPROTO_UDP) in do_masquerade()
125 struct ip_conntrack_protocol *protocol; in check_for_demasq() local
131 protocol = ip_ct_find_proto(iph->protocol); in check_for_demasq()
136 switch (iph->protocol) { in check_for_demasq()
160 if (!ip_ct_get_tuple(iph, (*pskb)->len, &tuple, protocol)) { in check_for_demasq()
Dipfwadm_core.c266 switch(ip->protocol) in print_packet()
278 printk(" PROTO=%d ", ip->protocol); in print_packet()
282 if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) in print_packet()
286 if(ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP) in print_packet()
358 if (offset == 1 && ip->protocol == IPPROTO_TCP) in ip_fw_chk()
362 (ip->protocol == IPPROTO_TCP || ip->protocol == IPPROTO_UDP || in ip_fw_chk()
363 ip->protocol == IPPROTO_ICMP)) in ip_fw_chk()
370 if(ip->protocol==IPPROTO_TCP && (ip->ihl<<2)+16 > ntohs(ip->tot_len)) in ip_fw_chk()
379 …else if((ntohs(ip->tot_len)<8+(ip->ihl<<2))&&(ip->protocol==IPPROTO_TCP || ip->protocol==IPPROTO_U… in ip_fw_chk()
394 switch(ip->protocol) in ip_fw_chk()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Dconfig.c353 static int protocol[HISAX_MAX_CARDS] __devinitdata = { 0, }; variable
377 MODULE_PARM(protocol, PARM_PARA);
448 cards[i].protocol = DEFAULT_PROTO; in HiSax_setup()
455 cards[i].protocol = ints[j]; in HiSax_setup()
928 if (card->protocol == ISDN_PTYPE_NI1) in checkcard()
933 cs->protocol = card->protocol; in checkcard()
985 (card->protocol == ISDN_PTYPE_1TR6) ? "1TR6" : in checkcard()
986 (card->protocol == ISDN_PTYPE_EURO) ? "EDSS1" : in checkcard()
987 (card->protocol == ISDN_PTYPE_LEASED) ? "LEASED" : in checkcard()
988 (card->protocol == ISDN_PTYPE_NI1) ? "NI1" : in checkcard()
[all …]
/linux-2.4.37.9/net/sched/
Dcls_rsvp.h83 u8 protocol; member
106 static __inline__ unsigned hash_dst(u32 *dst, u8 protocol, u8 tunnelid) in hash_dst() argument
111 return (h ^ protocol ^ tunnelid) & 0xFF; in hash_dst()
143 u8 protocol; in rsvp_classify() local
157 protocol = nhptr->nexthdr; in rsvp_classify()
162 protocol = nhptr->protocol; in rsvp_classify()
168 h1 = hash_dst(dst, protocol, tunnelid); in rsvp_classify()
173 protocol == s->protocol && in rsvp_classify()
502 h1 = hash_dst(dst, pinfo ? pinfo->protocol : 0, pinfo ? pinfo->tunnelid : 0); in rsvp_change()
521 pinfo && pinfo->protocol == s->protocol && in rsvp_change()
[all …]
/linux-2.4.37.9/arch/sparc64/solaris/
Dsocksys.c58 int family, type, protocol, fd; in socksys_open() local
68 protocol = 0; in socksys_open()
71 protocol = af_inet_protocols[MINOR(inode->i_rdev) & 0xf]; in socksys_open()
72 switch (protocol) { in socksys_open()
80 protocol = 0; in socksys_open()
84 fd = sys_socket(family, type, protocol); in socksys_open()
/linux-2.4.37.9/net/netlink/
Daf_netlink.c186 static __inline__ struct sock *netlink_lookup(int protocol, u32 pid) in netlink_lookup() argument
188 struct nl_pid_hash *hash = &nl_table[protocol].hash; in netlink_lookup()
286 struct nl_pid_hash *hash = &nl_table[sk->protocol].hash; in netlink_insert()
328 struct netlink_table *table = &nl_table[sk->protocol]; in netlink_remove()
353 static int netlink_create(struct socket *sock, int protocol) in netlink_create() argument
362 if (protocol<0 || protocol >= MAX_LINKS) in netlink_create()
385 sk->protocol=protocol; in netlink_create()
417 struct netlink_notify n = { protocol:sk->protocol, in netlink_release()
429 struct nl_pid_hash *hash = &nl_table[sk->protocol].hash; in netlink_autobind()
463 return (nl_nonroot[sock->sk->protocol] & flag) || capable(CAP_NET_ADMIN); in netlink_capable()
[all …]
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack_core.h19 extern struct ip_conntrack_protocol *ip_ct_find_proto(u_int8_t protocol);
21 extern struct ip_conntrack_protocol *__ip_ct_find_proto(u_int8_t protocol);
30 struct ip_conntrack_protocol *protocol);
/linux-2.4.37.9/Documentation/networking/
Dcomx.txt32 LMI) protocols are available as link-level protocol.
37 Load the comx.o module and the hardware-specific and protocol-specific
58 in it: 'boardtype' and 'protocol'. You have to fill in these files correctly
59 for your board and protocol you intend to use (see the board and protocol
62 setting the various hardware- and protocol-related informations (for example
90 echo HDLC >/proc/comx/comx0/protocol <- the data-link protocol
91 echo 10 >/proc/comx/comx0/keepalive <- the keepalive for the protocol
156 The HDLC/SyncPPP line protocol driver uses the kernel's built-in syncppp
167 echo hdlc >/proc/comx/comx0/protocol
174 echo ppp >/proc/comx/comx0/protocol
[all …]

12345678910>>...22