/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/ |
H A D | dsfield.h | 21 static inline __u8 ipv6_get_dsfield(struct ipv6hdr *ipv6h) argument 23 return ntohs(*(__u16 *) ipv6h) >> 4; 43 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask, argument 48 tmp = ntohs(*(__u16 *) ipv6h); 50 *(__u16 *) ipv6h = htons(tmp);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/ |
H A D | dsfield.h | 21 static inline __u8 ipv6_get_dsfield(struct ipv6hdr *ipv6h) argument 23 return ntohs(*(__u16 *) ipv6h) >> 4; 43 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask, argument 48 tmp = ntohs(*(__u16 *) ipv6h); 50 *(__u16 *) ipv6h = htons(tmp);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/netfilter/ |
H A D | ip6table_mangle.c | 141 memcpy(&saddr, &(*pskb)->nh.ipv6h->saddr, sizeof(saddr)); 142 memcpy(&daddr, &(*pskb)->nh.ipv6h->daddr, sizeof(daddr)); 144 hop_limit = (*pskb)->nh.ipv6h->hop_limit; 147 flowlabel = (u_int32_t) (*pskb)->nh.ipv6h; 152 && (memcmp(&(*pskb)->nh.ipv6h->saddr, &saddr, sizeof(saddr)) 153 || memcmp(&(*pskb)->nh.ipv6h->daddr, &daddr, sizeof(daddr)) 155 || (*pskb)->nh.ipv6h->hop_limit != hop_limit)) {
|
H A D | ip6t_LOG.c | 77 struct ipv6hdr *ipv6h, int recurse) 79 u_int8_t currenthdr = ipv6h->nexthdr; 84 printk("SRC=%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x ", NIP6(ipv6h->saddr)); 85 printk("DST=%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x ", NIP6(ipv6h->daddr)); 89 ntohs(ipv6h->payload_len) + sizeof(struct ipv6hdr), 90 (ntohl(*(u_int32_t *)ipv6h) & 0x0ff00000) >> 20, 91 ipv6h->hop_limit, 92 (ntohl(*(u_int32_t *)ipv6h) & 0x000fffff)); 95 hdrptr = (u_int8_t *)(ipv6h + 1); 273 struct ipv6hdr *ipv6h local 76 dump_packet(const struct ip6t_log_info *info, struct ipv6hdr *ipv6h, int recurse) argument [all...] |
H A D | ip6t_eui64.c | 33 if (skb->nh.ipv6h->version == 0x6) { 41 while ((skb->nh.ipv6h->saddr.in6_u.u6_addr8[8+i] ==
|
H A D | ip6t_length.c | 19 u_int16_t pktlen = ntohs(skb->nh.ipv6h->payload_len) + sizeof(struct ipv6hdr);
|
H A D | ip6_queue.c | 295 struct ipv6hdr *iph = skb->nh.ipv6h; 341 struct ipv6hdr *iph = skb->nh.ipv6h; 410 struct ipv6hdr *iph = e->skb->nh.ipv6h;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/ |
H A D | ip6_input.c | 77 hdr = skb->nh.ipv6h; 91 hdr = skb->nh.ipv6h; 103 hdr = skb->nh.ipv6h; 124 struct ipv6hdr *hdr = skb->nh.ipv6h; 157 hdr = skb->nh.ipv6h; 223 hdr = skb->nh.ipv6h;
|
H A D | ndisc.c | 485 msg->icmph.icmp6_cksum = csum_ipv6_magic(&skb->nh.ipv6h->saddr, 537 hdr->icmp6_cksum = csum_ipv6_magic(&skb->nh.ipv6h->saddr, daddr, len, 569 if (skb && ipv6_chk_addr(&skb->nh.ipv6h->saddr, dev)) 570 saddr = &skb->nh.ipv6h->saddr; 600 if (!(ipv6_addr_type(&skb->nh.ipv6h->saddr) & IPV6_ADDR_LINKLOCAL)) { 642 rt = rt6_get_dflt_router(&skb->nh.ipv6h->saddr, skb->dev); 652 rt = rt6_add_dflt_router(&skb->nh.ipv6h->saddr, skb->dev); 787 if (!(ipv6_addr_type(&skb->nh.ipv6h->saddr) & IPV6_ADDR_LINKLOCAL)) { 857 rt6_redirect(dest, &skb->nh.ipv6h->saddr, neigh, on_link); 882 rt = rt6_lookup(&skb->nh.ipv6h [all...] |
H A D | icmp.c | 187 int ptr = (u8*)(skb->nh.ipv6h+1) - skb->data; 189 __u8 nexthdr = skb->nh.ipv6h->nexthdr; 269 struct ipv6hdr *hdr = skb->nh.ipv6h; 391 saddr = &skb->nh.ipv6h->daddr; 406 msg.daddr = &skb->nh.ipv6h->saddr; 453 saddr = &skb->nh.ipv6h->saddr; 454 daddr = &skb->nh.ipv6h->daddr; 499 saddr = &skb->nh.ipv6h->saddr; 500 daddr = &skb->nh.ipv6h->daddr;
|
H A D | exthdrs.c | 93 if (ipv6_addr_is_multicast(&skb->nh.ipv6h->daddr)) 223 if ((ipv6_addr_type(&skb->nh.ipv6h->daddr)&IPV6_ADDR_MULTICAST) || 285 ipv6_addr_copy(addr, &skb->nh.ipv6h->daddr); 286 ipv6_addr_copy(&skb->nh.ipv6h->daddr, &daddr); 295 if (skb->nh.ipv6h->hop_limit <= 1) { 301 skb->nh.ipv6h->hop_limit--; 494 if (skb->nh.ipv6h->payload_len) {
|
H A D | tcp_ipv6.c | 406 return secure_tcpv6_sequence_number(skb->nh.ipv6h->daddr.s6_addr32, 407 skb->nh.ipv6h->saddr.s6_addr32, 943 if (ipv6_addr_is_multicast(&skb->nh.ipv6h->daddr)) 976 fl.nl_u.ip6_u.daddr = &skb->nh.ipv6h->saddr; 977 fl.nl_u.ip6_u.saddr = &skb->nh.ipv6h->daddr; 1043 fl.nl_u.ip6_u.daddr = &skb->nh.ipv6h->saddr; 1044 fl.nl_u.ip6_u.saddr = &skb->nh.ipv6h->daddr; 1092 req = tcp_v6_search_req(tp, &prev, th->source, &skb->nh.ipv6h->saddr, 1093 &skb->nh.ipv6h->daddr, tcp_v6_iif(skb)); 1097 nsk = __tcp_v6_lookup_established(&skb->nh.ipv6h [all...] |
H A D | ip6_output.c | 107 if (ipv6_addr_is_multicast(&skb->nh.ipv6h->daddr)) { 110 ipv6_chk_mcast_addr(dev, &skb->nh.ipv6h->daddr)) { 121 if (skb->nh.ipv6h->hop_limit == 0) { 137 struct ipv6hdr *iph = skb->nh.ipv6h; 218 hdr = skb->nh.ipv6h = (struct ipv6hdr*)skb_push(skb, sizeof(struct ipv6hdr)); 271 skb->nh.ipv6h = hdr; 291 hdr = skb->nh.ipv6h; 640 skb->nh.ipv6h = hdr; 723 struct ipv6hdr *hdr = skb->nh.ipv6h; 805 hdr = skb->nh.ipv6h; [all...] |
H A D | reassembly.c | 362 end = offset + (ntohs(skb->nh.ipv6h->payload_len) - 363 ((u8 *) (fhdr + 1) - (u8 *) (skb->nh.ipv6h + 1))); 602 head->nh.ipv6h->payload_len = ntohs(payload_len); 634 hdr = skb->nh.ipv6h; 648 hdr = skb->nh.ipv6h;
|
H A D | datagram.c | 80 skb->nh.ipv6h = iph; 162 memcpy(&sin->sin6_addr, &skb->nh.ipv6h->saddr, 16); 213 ipv6_addr_copy(&src_info.ipi6_addr, &skb->nh.ipv6h->daddr); 218 int hlim = skb->nh.ipv6h->hop_limit;
|
H A D | raw.c | 144 saddr = &skb->nh.ipv6h->saddr; 318 if (csum_ipv6_magic(&skb->nh.ipv6h->saddr, 319 &skb->nh.ipv6h->daddr, 326 skb->csum = ~csum_ipv6_magic(&skb->nh.ipv6h->saddr, 327 &skb->nh.ipv6h->daddr, 394 memcpy(&sin6->sin6_addr, &skb->nh.ipv6h->saddr,
|
H A D | udp.c | 429 memcpy(&sin6->sin6_addr, &skb->nh.ipv6h->saddr, 610 saddr = &skb->nh.ipv6h->saddr; 611 daddr = &skb->nh.ipv6h->daddr; 635 saddr = &skb->nh.ipv6h->saddr; 636 daddr = &skb->nh.ipv6h->daddr;
|
H A D | sit.c | 380 INET_ECN_is_not_ce(ip6_get_dsfield(skb->nh.ipv6h))) 381 IP6_ECN_set_ce(skb->nh.ipv6h); 457 struct ipv6hdr *iph6 = skb->nh.ipv6h; 495 addr6 = &skb->nh.ipv6h->daddr;
|
H A D | route.c | 334 saddr = &skb->nh.ipv6h->saddr; 335 daddr = &skb->nh.ipv6h->daddr; 376 strict = ipv6_addr_type(&skb->nh.ipv6h->daddr) & (IPV6_ADDR_MULTICAST|IPV6_ADDR_LINKLOCAL); 381 fn = fib6_lookup(&ip6_routing_table, &skb->nh.ipv6h->daddr, 382 &skb->nh.ipv6h->saddr); 417 rt = rt6_cow(rt, &skb->nh.ipv6h->daddr, 418 &skb->nh.ipv6h->saddr);
|
H A D | mcast.c | 415 if (!(ipv6_addr_type(&skb->nh.ipv6h->saddr)&IPV6_ADDR_LINKLOCAL)) 465 if (!(ipv6_addr_type(&skb->nh.ipv6h->saddr)&IPV6_ADDR_LINKLOCAL))
|
H A D | ip6_fw.c | 131 struct ipv6hdr *hdr = skb->nh.ipv6h;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/sched/ |
H A D | sch_dsmark.c | 193 skb->tc_index = ipv6_get_dsfield(skb->nh.ipv6h); 258 ipv6_change_dsfield(skb->nh.ipv6h,
|
H A D | cls_rsvp.h | 147 struct ipv6hdr *nhptr = skb->nh.ipv6h;
|
H A D | sch_sfq.c | 157 struct ipv6hdr *iph = skb->nh.ipv6h;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/ |
H A D | ip_gre.c | 542 if (INET_ECN_is_not_ce(ip6_get_dsfield(skb->nh.ipv6h))) 543 IP6_ECN_set_ce(skb->nh.ipv6h); 729 addr6 = &skb->nh.ipv6h->daddr;
|