/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/netfilter_bridge/ |
H A D | ebt_vlan.h | 13 __be16 encap; /* VLAN Encapsulated frame code {0-65535} */ member in struct:ebt_vlan_info 15 bit 2=1 User-Priority arg, bit 3=1 encap*/
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/ |
H A D | slattach.c | 97 static void set_state(struct termios *state, int encap) argument 111 if (ioctl_or_warn(handle, SIOCSIFENCAP, &encap) < 0) { 134 int i, encap, opt; local 162 encap = index_in_strings(proto_names, proto); 164 if (encap < 0) 166 if (encap > 3) 167 encap = 8; 214 set_state(&state, encap);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bridge/netfilter/ |
H A D | ebt_vlan.c | 58 __be16 encap; local 74 encap = fp->h_vlan_encapsulated_proto; 86 EXIT_ON_MISMATCH(encap, EBT_VLAN_ENCAP); 163 if ((unsigned short) ntohs(info->encap) < ETH_ZLEN) { 165 ("encap frame length %d is less than minimal\n", 166 ntohs(info->encap));
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/isdn/i4l/ |
H A D | isdn_concap.c | 92 struct concap_proto * isdn_concap_new( int encap ) 94 switch ( encap ) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/ |
H A D | atmclip.h | 27 unsigned char encap; /* 0: NULL, 1: LLC/SNAP */ member in struct:clip_vcc
|
H A D | xfrm.h | 23 #define MODULE_ALIAS_XFRM_MODE(family, encap) \ 24 MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap)) 137 struct xfrm_encap_tmpl *encap; member in struct:xfrm_state 294 unsigned int encap; member in struct:xfrm_mode 299 extern struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/ |
H A D | esp4.c | 70 if (x->encap) { 71 struct xfrm_encap_tmpl *encap = x->encap; local 76 uh->source = encap->encap_sport; 77 uh->dest = encap->encap_dport; 81 switch (encap->encap_type) { 226 if (x->encap) { 227 struct xfrm_encap_tmpl *encap = x->encap; local 237 uh->source != encap 407 struct xfrm_encap_tmpl *encap = x->encap; local [all...] |
H A D | xfrm4_mode_transport.c | 62 .encap = XFRM_MODE_TRANSPORT,
|
H A D | xfrm4_input.c | 83 if ((x->encap ? x->encap->encap_type : 0) != encap_type) 95 /* only the first xfrm gets the encap type */
|
H A D | xfrm4_tunnel.c | 33 if (x->encap)
|
H A D | ipmr.c | 1209 int encap = 0; local 1244 encap = sizeof(struct iphdr); 1257 if (skb->len+encap > dst_mtu(&rt->u.dst) && (ntohs(iph->frag_off) & IP_DF)) { 1268 encap += LL_RESERVED_SPACE(dev) + rt->u.dst.header_len; 1270 if (skb_cow(skb, encap)) { 1496 struct iphdr *encap; local 1499 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) 1505 skb->len < sizeof(*pim) + sizeof(*encap) || 1509 encap = (struct iphdr *)(skb_transport_header(skb) + 1517 if (!MULTICAST(encap 1557 struct iphdr *encap; local [all...] |
H A D | xfrm4_mode_beet.c | 121 .encap = XFRM_MODE_BEET,
|
H A D | xfrm4_mode_tunnel.c | 146 .encap = XFRM_MODE_TUNNEL,
|
H A D | ah4.c | 226 if (x->encap)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | xfrm6_mode_ro.c | 75 .encap = XFRM_MODE_ROUTEOPTIMIZATION,
|
H A D | xfrm6_mode_transport.c | 72 .encap = XFRM_MODE_TRANSPORT,
|
H A D | xfrm6_mode_beet.c | 91 .encap = XFRM_MODE_BEET,
|
H A D | xfrm6_mode_tunnel.c | 128 .encap = XFRM_MODE_TUNNEL,
|
H A D | xfrm6_tunnel.c | 313 if (x->encap)
|
H A D | ip6mr.c | 421 struct ipv6hdr *encap; local 425 if (!pskb_may_pull(skb, sizeof(*pim) + sizeof(*encap))) 437 //encap = (struct ipv6hdr*)(skb->h.raw + sizeof(struct pimreghdr)); 438 encap = (struct ipv6hdr *)(skb_transport_header(skb) + sizeof(*pim)); 440 if(!(ipv6_addr_type(&encap->daddr)&IPV6_ADDR_MULTICAST) || 441 encap->payload_len == 0 || 442 ntohs(encap->payload_len) + sizeof(*pim) > skb->len) 457 skb_pull(skb, (u8*)encap - skb->data);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/ |
H A D | xfrm_state.c | 60 fprintf(stderr, " [ encap ENCAP ] [ sel SELECTOR ] [ LIMIT-LIST ]\n"); 270 } else if (strcmp(*argv, "encap") == 0) { 271 struct xfrm_encap_tmpl encap; local 274 xfrm_encap_type_parse(&encap.encap_type, &argc, &argv); 276 if (get_u16(&encap.encap_sport, *argv, 0)) 277 invarg("\"encap\" sport value is invalid", *argv); 278 encap.encap_sport = htons(encap.encap_sport); 280 if (get_u16(&encap.encap_dport, *argv, 0)) 281 invarg("\"encap\" dpor [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/xfrm/ |
H A D | xfrm_state.c | 199 kfree(x->encap); 924 if (orig->encap) { 925 x->encap = kmemdup(orig->encap, sizeof(*x->encap), GFP_KERNEL); 926 if (!x->encap) 956 kfree(x->encap); 1080 if (x->encap && x1->encap) 1081 memcpy(x1->encap, [all...] |
H A D | xfrm_user.c | 83 struct xfrm_encap_tmpl *encap; local 88 if ((rt->rta_len - sizeof(*rt)) < sizeof(*encap)) 401 if ((err = attach_encap_tmpl(&x->encap, xfrma[XFRMA_ENCAP-1]))) 601 if (x->encap) 602 RTA_PUT(skb, XFRMA_ENCAP, sizeof(*x->encap), x->encap); 2124 if (x->encap) 2125 l += RTA_SPACE(sizeof(*x->encap)); 2177 if (x->encap) 2178 RTA_PUT(skb, XFRMA_ENCAP, sizeof(*x->encap), [all...] |
H A D | xfrm_policy.c | 186 if (unlikely(mode->encap >= XFRM_MODE_MAX)) 195 if (likely(modemap[mode->encap] == NULL)) { 196 modemap[mode->encap] = mode; 211 if (unlikely(mode->encap >= XFRM_MODE_MAX)) 220 if (likely(modemap[mode->encap] == mode)) { 221 modemap[mode->encap] = NULL; 230 struct xfrm_mode *xfrm_get_mode(unsigned int encap, int family) argument 236 if (unlikely(encap >= XFRM_MODE_MAX)) 244 mode = afinfo->mode_map[encap]; 249 request_module("xfrm-mode-%d-%d", family, encap); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/atm/ |
H A D | clip.c | 213 if (!clip_vcc->encap 363 CLIP_VCC(vcc)->encap = mode; 406 if (entry->vccs->encap) { 465 clip_vcc->encap = 1; 810 llc = ((clip_vcc == SEQ_NO_VCC_TOKEN) || clip_vcc->encap);
|