Searched refs:protocol (Results 1 - 25 of 575) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ax25/
H A Dax25_iface.c57 struct protocol_struct *protocol; local
66 if ((protocol = kmalloc(sizeof(*protocol), GFP_ATOMIC)) == NULL)
69 protocol->pid = pid;
70 protocol->func = func;
75 protocol->next = protocol_list;
76 protocol_list = protocol;
85 struct protocol_struct *s, *protocol = protocol_list; local
88 if (protocol == NULL)
94 if (protocol
230 struct protocol_struct *protocol; local
260 struct protocol_struct *protocol; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/
H A Dprotocol.c2 * INET An implementation of the TCP/IP protocol suite for the LINUX
6 * PF_INET6 protocol dispatch tables.
8 * Version: $Id: protocol.c,v 1.1.1.1 2008/10/15 03:27:34 james26_jang Exp $
41 #include <net/protocol.h>
50 hash = prot->protocol & (MAX_INET_PROTOS - 1);
62 if (p2->protocol == prot->protocol) {
72 * Remove a protocol from the hash tables.
81 hash = prot->protocol & (MAX_INET_PROTOS - 1);
91 if (p != NULL && p->protocol
[all...]
H A DMakefile14 protocol.o icmp.o mcast.o reassembly.o tcp_ipv6.o \
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Dpkt_cls.h24 u32 protocol; member in struct:tcf_proto
62 to this qdisc, (optionally) tests for protocol and asks
69 u32 protocol = skb->protocol; local
72 if ((tp->protocol == protocol ||
73 tp->protocol == __constant_htons(ETH_P_ALL)) &&
H A Dprotocol.h2 * INET An implementation of the TCP/IP protocol suite for the LINUX
6 * Definitions for the protocol dispatcher.
8 * Version: @(#)protocol.h 1.0.2 05/07/93
42 unsigned char protocol; member in struct:inet_protocol
58 unsigned char protocol; member in struct:inet6_protocol
72 int protocol; /* This is the L4 protocol number. */ member in struct:inet_protosw
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Dpkt_cls.h24 u32 protocol; member in struct:tcf_proto
62 to this qdisc, (optionally) tests for protocol and asks
69 u32 protocol = skb->protocol; local
72 if ((tp->protocol == protocol ||
73 tp->protocol == __constant_htons(ETH_P_ALL)) &&
H A Dprotocol.h2 * INET An implementation of the TCP/IP protocol suite for the LINUX
6 * Definitions for the protocol dispatcher.
8 * Version: @(#)protocol.h 1.0.2 05/07/93
42 unsigned char protocol; member in struct:inet_protocol
58 unsigned char protocol; member in struct:inet6_protocol
72 int protocol; /* This is the L4 protocol number. */ member in struct:inet_protosw
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dprotocol.c2 * INET An implementation of the TCP/IP protocol suite for the LINUX
6 * INET protocol dispatch tables.
8 * Version: $Id: protocol.c,v 1.1.1.1 2008/10/15 03:27:33 james26_jang Exp $
42 #include <net/protocol.h>
58 protocol: IPPROTO_IGMP,
71 protocol: IPPROTO_TCP,
82 protocol: IPPROTO_UDP,
92 protocol: IPPROTO_ICMP,
105 * Add a protocol handler to the hash tables
113 hash = prot->protocol
[all...]
H A Dip_input.c2 * INET An implementation of the TCP/IP protocol suite for the LINUX
135 #include <net/protocol.h>
159 u8 protocol = skb->nh.iph->protocol; local
169 if (sk && sk->num == protocol
204 if (ipprot->protocol == iph->protocol) {
241 int protocol = skb->nh.iph->protocol; local
242 int hash = protocol
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dpppox.c108 if (proto[sk->protocol]->ioctl)
109 err = (*proto[sk->protocol]->ioctl)(sock, cmd, arg);
120 static int pppox_create(struct socket *sock, int protocol) argument
124 if (protocol < 0 || protocol > PX_MAX_PROTO)
128 if (proto[protocol] == NULL) {
130 sprintf(buffer, "pppox-proto-%d", protocol);
134 if (proto[protocol] == NULL)
137 err = (*proto[protocol]->create)(sock);
/asus-wl-520gu-7.0.1.45/src/router/iproute2/examples/diffserv/
H A DEdge32-ca-u3257 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
61 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
74 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
86 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
97 $TC filter add dev $INDEV parent ffff: protocol ip prio 8 u32 \
101 $TC filter add dev $INDEV parent ffff: protocol ip prio 9 u32 \
109 $TC filter add dev $INDEV parent ffff: protocol ip prio 10 u32 \
113 $TC filter add dev $INDEV parent ffff: protocol i
[all...]
H A DEdge31-ca-u3233 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1: u32 \
53 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
62 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
70 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
82 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
90 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
101 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
113 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \
144 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
146 $TC filter add $EGDEV parent 1:0 protocol i
[all...]
H A DEdge32-cb-chains55 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 handle 1 fw \
58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 handle 1 fw \
65 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 handle 1 fw \
68 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \
75 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \
78 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \
85 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 handle 2 fw \
118 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
120 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
122 $TC filter add $EGDEV parent 1:0 protocol i
[all...]
H A DEdge32-cb-u3255 $TC filter add dev $INDEV parent ffff: protocol ip prio 1 u32 \
58 $TC filter add dev $INDEV parent ffff: protocol ip prio 2 u32 \
66 $TC filter add dev $INDEV parent ffff: protocol ip prio 3 u32 \
69 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 u32 \
76 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 u32 \
79 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 u32 \
87 $TC filter add dev $INDEV parent ffff: protocol ip prio 7 u32 \
119 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
121 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
123 $TC filter add $EGDEV parent 1:0 protocol i
[all...]
H A DEdge31-cb-chains52 $TC filter add dev $INDEV parent ffff: protocol ip prio 4 handle 1 fw \
59 $TC filter add dev $INDEV parent ffff: protocol ip prio 5 handle 1 fw \
66 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 1 fw \
73 $TC filter add dev $INDEV parent ffff: protocol ip prio 6 handle 2 fw \
106 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
108 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
110 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
112 $TC filter add $EGDEV parent 1:0 protocol ip prio 1 \
H A DEdge150 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1
51 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2
52 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3
H A DEdge243 $TC filter add dev $INDEV parent ffff: protocol ip prio 50 handle 3 fw \
66 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1
67 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2
68 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dip_conntrack_core.h18 extern struct ip_conntrack_protocol *ip_ct_find_proto(u_int8_t protocol);
20 extern struct ip_conntrack_protocol *__ip_ct_find_proto(u_int8_t protocol);
29 struct ip_conntrack_protocol *protocol);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dip_conntrack_core.h18 extern struct ip_conntrack_protocol *ip_ct_find_proto(u_int8_t protocol);
20 extern struct ip_conntrack_protocol *__ip_ct_find_proto(u_int8_t protocol);
29 struct ip_conntrack_protocol *protocol);
/asus-wl-520gu-7.0.1.45/src/router/ppp/pppoecd/
H A Dauth.c111 if (protp->protocol != PPP_LCP && protp->lowerdown != NULL)
113 if (protp->protocol < 0xC000 && protp->close != NULL)
139 if (protp->protocol != PPP_LCP && protp->enabled_flag
184 if (protp->protocol < 0xC000 && protp->enabled_flag
187 if (protp->protocol != PPP_CCP)
197 * The peer has failed to authenticate himself using `protocol'.
200 auth_peer_fail(unit, protocol)
201 int unit, protocol;
211 * The peer has been successfully authenticated using `protocol'.
214 auth_peer_success(unit, protocol, nam
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dms_fnmatch.c35 of the protocol. This is not yet perfect, but its a lot
155 int protocol, BOOL case_sensitive)
160 if (protocol <= PROTOCOL_LANMAN2) {
173 if (! n[1] && ms_fnmatch_w(p, n+1, protocol, case_sensitive) == 0) return 0;
174 if (ms_fnmatch_w(p, n, protocol, case_sensitive) == 0) return 0;
177 if (! *n) return ms_fnmatch_w(p, n, protocol, case_sensitive);
183 if (ms_fnmatch_w(p, n, protocol, case_sensitive) == 0) return 0;
189 if (ms_fnmatch_w(p, n, protocol, case_sensitive) == 0) return 0;
198 if (*n == 0 && ms_fnmatch_w(p, n, protocol, case_sensitive) == 0) return 0;
218 int ms_fnmatch(const char *pattern, const char *string, int protocol, argument
154 ms_fnmatch_w(const smb_ucs2_t *pattern, const smb_ucs2_t *string, int protocol, BOOL case_sensitive) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/tc/
H A Dtc_filter.c36 fprintf(stderr, " [ pref PRIO ] [ protocol PROTO ]\n");
60 __u32 protocol = 0; local
109 } else if (matches(*argv, "protocol") == 0) {
112 if (protocol)
113 duparg("protocol", *argv);
115 invarg(*argv, "invalid protocol");
116 protocol = id;
133 req.t.tcm_info = TC_H_MAKE(prio<<16, protocol);
230 __u32 protocol = TC_H_MIN(t->tcm_info); local
232 if (!filter_protocol || filter_protocol != protocol) {
274 __u32 protocol = 0; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/ip/
H A Diptunnel.c182 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPIP) {
186 p->iph.protocol = IPPROTO_IPIP;
189 if (p->iph.protocol && p->iph.protocol != IPPROTO_GRE) {
193 p->iph.protocol = IPPROTO_GRE;
196 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) {
200 p->iph.protocol = IPPROTO_IPV6;
316 if (p->iph.protocol
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dip_fw_compat_masq.c41 if (iph->protocol != IPPROTO_ICMP
42 && iph->protocol != IPPROTO_TCP
43 && iph->protocol != IPPROTO_UDP)
123 struct ip_conntrack_protocol *protocol; local
129 protocol = ip_ct_find_proto(iph->protocol);
134 switch (iph->protocol) {
158 if (!get_tuple(iph, (*pskb)->len, &tuple, protocol)) {
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dip_fw_compat_masq.c41 if (iph->protocol != IPPROTO_ICMP
42 && iph->protocol != IPPROTO_TCP
43 && iph->protocol != IPPROTO_UDP)
123 struct ip_conntrack_protocol *protocol; local
129 protocol = ip_ct_find_proto(iph->protocol);
134 switch (iph->protocol) {
158 if (!get_tuple(iph, (*pskb)->len, &tuple, protocol)) {

Completed in 199 milliseconds

1234567891011>>