Searched refs:ip6h (Results 1 - 11 of 11) sorted by relevance
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/netfilter/ |
H A D | ip6t_HL.c | 28 struct ipv6hdr *ip6h; local 35 ip6h = ipv6_hdr(*pskb); 42 new_hl = ip6h->hop_limit + info->hop_limit; 47 new_hl = ip6h->hop_limit - info->hop_limit; 52 new_hl = ip6h->hop_limit; 56 ip6h->hop_limit = new_hl;
|
H A D | ip6t_hl.c | 28 const struct ipv6hdr *ip6h = ipv6_hdr(skb); local 32 return (ip6h->hop_limit == info->hop_limit); 35 return (!(ip6h->hop_limit == info->hop_limit)); 38 return (ip6h->hop_limit < info->hop_limit); 41 return (ip6h->hop_limit > info->hop_limit);
|
H A D | ip6t_REJECT.c | 46 struct ipv6hdr *oip6h = ipv6_hdr(oldskb), *ip6h; local 121 ip6h = ipv6_hdr(nskb); 122 ip6h->version = 6; 123 ip6h->hop_limit = dst_metric(dst, RTAX_HOPLIMIT); 124 ip6h->nexthdr = IPPROTO_TCP; 125 ip6h->payload_len = htons(sizeof(struct tcphdr)); 126 ipv6_addr_copy(&ip6h->saddr, &oip6h->daddr); 127 ipv6_addr_copy(&ip6h->daddr, &oip6h->saddr);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/ |
H A D | xfrm6_mode_beet.c | 62 struct ipv6hdr *ip6h; local 78 ip6h = ipv6_hdr(skb); 79 ip6h->payload_len = htons(skb->len - size); 80 ipv6_addr_copy(&ip6h->daddr, (struct in6_addr *) &x->sel.daddr.a6); 81 ipv6_addr_copy(&ip6h->saddr, (struct in6_addr *) &x->sel.saddr.a6);
|
H A D | netfilter.c | 87 struct ipv6hdr *ip6h = ipv6_hdr(skb); local 94 if (!csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, 105 csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
|
H A D | ah6.c | 328 struct ipv6hdr *ip6h; local 361 ip6h = ipv6_hdr(skb); 362 if (ipv6_clear_mutable_options(ip6h, hdr_len, XFRM_POLICY_IN)) 364 ip6h->priority = 0; 365 ip6h->flow_lbl[0] = 0; 366 ip6h->flow_lbl[1] = 0; 367 ip6h->flow_lbl[2] = 0; 368 ip6h->hop_limit = 0;
|
H A D | tcp_ipv6.c | 846 struct ipv6hdr *ip6h = ipv6_hdr(skb); local 853 hash_expected = tcp_v6_md5_do_lookup(sk, &ip6h->saddr); 893 NIP6(ip6h->saddr), ntohs(th->source), 894 NIP6(ip6h->daddr), ntohs(th->dest)); 904 NIP6(ip6h->saddr), ntohs(th->source), 905 NIP6(ip6h->daddr), ntohs(th->dest)); 913 &ip6h->saddr, &ip6h->daddr, 922 NIP6(ip6h->saddr), ntohs(th->source), 923 NIP6(ip6h [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/net/ |
H A D | qeth_tso.h | 67 struct ipv6hdr *ip6h = ipv6_hdr(skb); local 72 ip6h->payload_len = 0; 73 tcph->check = ~csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/common/include/proto/ |
H A D | bcmproto.h | 158 struct ipv6_hdr *ip6h = (struct ipv6_hdr *)p; local 163 if (IP_VER(ip6h) == IP_VER_6) { 165 type = IPV6_PROT(ip6h);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/proto/ |
H A D | bcmproto.h | 158 struct ipv6_hdr *ip6h = (struct ipv6_hdr *)p; local 163 if (IP_VER(ip6h) == IP_VER_6) { 165 type = IPV6_PROT(ip6h);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/netfilter/ |
H A D | nf_conntrack_core.c | 145 struct ipv6hdr *ip6h = NULL; local 173 ip6h = (struct ipv6hdr *)iph; 174 tcph = (struct tcphdr *)ctf_ipc_lkup_l4proto(kcih, ip6h, &protocol); 235 !(ipv6_addr_type(&ip6h->daddr) & IPV6_ADDR_UNICAST)) : 275 memcpy(ipc_entry.tuple.sip, &ip6h->saddr, sizeof(ipc_entry.tuple.sip)); 276 memcpy(ipc_entry.tuple.dip, &ip6h->daddr, sizeof(ipc_entry.tuple.dip)); 316 ipc_entry.tos = IPV6_TRAFFIC_CLASS(ip6h);
|
Completed in 133 milliseconds