/linux-2.4.37.9/net/ipv6/ |
D | ip6_input.c | 55 struct ipv6hdr *hdr; in ipv6_rcv() 71 if (skb->len < sizeof(struct ipv6hdr)) in ipv6_rcv() 74 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in ipv6_rcv() 86 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) in ipv6_rcv() 88 if (pkt_len + sizeof(struct ipv6hdr) < skb->len) { in ipv6_rcv() 89 if (__pskb_trim(skb, pkt_len + sizeof(struct ipv6hdr))) in ipv6_rcv() 99 if (ipv6_parse_hopopts(skb, offsetof(struct ipv6hdr, nexthdr)) < 0) { in ipv6_rcv() 124 struct ipv6hdr *hdr = skb->nh.ipv6h; in ip6_input_finish() 132 skb->h.raw = skb->nh.raw + sizeof(struct ipv6hdr); in ip6_input_finish() 139 nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_input_finish() [all …]
|
D | ip6_output.c | 141 struct ipv6hdr *iph = skb->nh.ipv6h; in ip6_route_me_harder() 193 struct ipv6hdr *hdr; in ip6_xmit() 206 head_room += sizeof(struct ipv6hdr) + ((dst->dev->hard_header_len + 15)&~15); in ip6_xmit() 223 hdr = skb->nh.ipv6h = (struct ipv6hdr*)skb_push(skb, sizeof(struct ipv6hdr)); in ip6_xmit() 268 struct ipv6hdr *hdr; in ip6_nd_hdr() 274 totlen = len + sizeof(struct ipv6hdr); in ip6_nd_hdr() 276 hdr = (struct ipv6hdr *) skb_put(skb, sizeof(struct ipv6hdr)); in ip6_nd_hdr() 291 static struct ipv6hdr * ip6_bld_1(struct sock *sk, struct sk_buff *skb, struct flowi *fl, in ip6_bld_1() 294 struct ipv6hdr *hdr; in ip6_bld_1() 296 skb->nh.raw = skb_put(skb, sizeof(struct ipv6hdr)); in ip6_bld_1() [all …]
|
D | icmp.c | 262 struct ipv6hdr *hdr = skb->nh.ipv6h; in icmpv6_send() 357 len = min_t(unsigned int, len, IPV6_MIN_MTU - sizeof(struct ipv6hdr)); in icmpv6_send() 430 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_notify() 433 nexthdr = ((struct ipv6hdr *)skb->data)->nexthdr; in icmpv6_notify() 436 …nner_offset = ipv6_skip_exthdr(skb, sizeof(struct ipv6hdr), &nexthdr, skb->len - sizeof(struct ipv… in icmpv6_notify() 440 inner_offset = sizeof(struct ipv6hdr); in icmpv6_notify() 487 struct ipv6hdr *orig_hdr; in icmpv6_rcv() 558 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in icmpv6_rcv() 561 orig_hdr = (struct ipv6hdr *) (hdr + 1); in icmpv6_rcv()
|
D | datagram.c | 56 serr->addr_offset = (u8*)&(((struct ipv6hdr*)(icmph+1))->daddr) - skb->nh.raw; in ipv6_icmp_error() 69 struct ipv6hdr *iph; in ipv6_local_error() 75 skb = alloc_skb(sizeof(struct ipv6hdr), GFP_ATOMIC); in ipv6_local_error() 79 iph = (struct ipv6hdr*)skb_put(skb, sizeof(struct ipv6hdr)); in ipv6_local_error()
|
D | exthdrs.c | 513 if (pkt_len > skb->len - sizeof(struct ipv6hdr)) { in ipv6_hop_jumbo() 517 if (pkt_len + sizeof(struct ipv6hdr) < skb->len) { in ipv6_hop_jumbo() 518 __pskb_trim(skb, pkt_len + sizeof(struct ipv6hdr)); in ipv6_hop_jumbo() 537 ((struct inet6_skb_parm*)skb->cb)->hop = sizeof(struct ipv6hdr); in ipv6_parse_hopopts() 539 return sizeof(struct ipv6hdr); in ipv6_parse_hopopts()
|
D | sit.c | 292 struct ipv6hdr *iph6; in ipip6_err() 301 if (len < hlen + sizeof(struct ipv6hdr)) in ipip6_err() 303 iph6 = (struct ipv6hdr*)(dp + hlen); in ipip6_err() 388 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in ipip6_rcv() 450 struct ipv6hdr *iph6 = skb->nh.ipv6h; in ipip6_tunnel_xmit()
|
D | ip6_fw.c | 131 struct ipv6hdr *hdr = skb->nh.ipv6h; in ip6_fw_accept_trans() 134 len = skb->len - sizeof(struct ipv6hdr); in ip6_fw_accept_trans()
|
D | reassembly.c | 459 offsetof(struct ipv6hdr, payload_len)); in ip6_frag_queue() 602 payload_len = (head->data - head->nh.raw) - sizeof(struct ipv6hdr) + fq->len; in ip6_frag_reasm() 701 struct ipv6hdr *hdr; in ipv6_reassembly()
|
D | tcp_ipv6.c | 699 tp->mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_connect() 730 struct ipv6hdr *hdr = (struct ipv6hdr*)skb->data; in tcp_v6_err() 981 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + sizeof(struct tcphdr), GFP_ATOMIC); in tcp_v6_send_reset() 985 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + sizeof(struct tcphdr)); in tcp_v6_send_reset() 1043 buff = alloc_skb(MAX_HEADER + sizeof(struct ipv6hdr) + tot_len, GFP_ATOMIC); in tcp_v6_send_ack() 1047 skb_reserve(buff, MAX_HEADER + sizeof(struct ipv6hdr) + tot_len); in tcp_v6_send_ack() 1201 tp.mss_clamp = IPV6_MIN_MTU - sizeof(struct tcphdr) - sizeof(struct ipv6hdr); in tcp_v6_conn_request() 1792 sizeof(struct ipv6hdr),
|
/linux-2.4.37.9/include/net/ |
D | dsfield.h | 21 static inline __u8 ipv6_get_dsfield(struct ipv6hdr *ipv6h) in ipv6_get_dsfield() 43 static inline void ipv6_change_dsfield(struct ipv6hdr *ipv6h,__u8 mask, in ipv6_change_dsfield()
|
D | inet_ecn.h | 55 struct ipv6hdr; 57 static inline void IP6_ECN_set_ce(struct ipv6hdr *iph) in IP6_ECN_set_ce()
|
/linux-2.4.37.9/net/ipv6/netfilter/ |
D | ip6t_LOG.c | 63 struct ipv6hdr *ipv6h; in dump_packet() 71 ipv6h = (struct ipv6hdr *)(skb->data + ip6hoff); in dump_packet() 79 ntohs(ipv6h->payload_len) + sizeof(struct ipv6hdr), in dump_packet() 85 ptr = ip6hoff + sizeof(struct ipv6hdr); in dump_packet()
|
D | ip6t_length.c | 19 u_int16_t pktlen = ntohs(skb->nh.ipv6h->payload_len) + sizeof(struct ipv6hdr); in match()
|
D | ip6_queue.c | 297 struct ipv6hdr *iph = skb->nh.ipv6h; in ipq_enqueue_packet() 339 struct ipv6hdr *user_iph = (struct ipv6hdr *)v->payload; in ipq_mangle_ipv6() 377 struct ipv6hdr *iph = e->skb->nh.ipv6h; in ipq_mangle_ipv6()
|
D | ip6t_hl.c | 25 const struct ipv6hdr *ip6h = skb->nh.ipv6h; in match()
|
D | ip6t_ipv6header.c | 43 ptr = sizeof(struct ipv6hdr); in ipv6header_match()
|
D | ip6t_esp.c | 63 ptr = sizeof(struct ipv6hdr); in match()
|
D | ip6t_ah.c | 67 ptr = sizeof(struct ipv6hdr); in match()
|
D | ip6t_frag.c | 58 ptr = sizeof(struct ipv6hdr); in match()
|
D | ip6t_dst.c | 71 ptr = sizeof(struct ipv6hdr);
|
D | ip6t_hbh.c | 71 ptr = sizeof(struct ipv6hdr);
|
D | ip6t_rt.c | 59 ptr = sizeof(struct ipv6hdr); in match()
|
/linux-2.4.37.9/include/linux/ |
D | ipv6.h | 83 struct ipv6hdr { struct
|
/linux-2.4.37.9/net/sctp/ |
D | ipv6.c | 102 struct ipv6hdr *iph = (struct ipv6hdr *)skb->data; in sctp_v6_err() 959 .net_header_len = sizeof(struct ipv6hdr),
|
/linux-2.4.37.9/net/sched/ |
D | cls_rsvp.h | 147 struct ipv6hdr *nhptr = skb->nh.ipv6h; in rsvp_classify() 158 xprt = ((u8*)nhptr) + sizeof(struct ipv6hdr); in rsvp_classify()
|