Searched refs:hbh (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/netinet6/ |
H A D | ip6_input.c | 658 struct ip6_hbh *hbh; in ip6_hbhchcheck() local 685 if (hbh == NULL) { in ip6_hbhchcheck() 689 nxt = hbh->ip6h_nxt; in ip6_hbhchcheck() 809 struct ip6_hbh *hbh; in ip6_hopopts_input() local 812 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, *mp, in ip6_hopopts_input() 814 if (hbh == NULL) { in ip6_hopopts_input() 818 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_hopopts_input() 821 if (hbh == NULL) { in ip6_hopopts_input() 1091 struct ip6_hbh *hbh; in ip6_savecontrol() local 1101 hbh = mtod(ext, struct ip6_hbh *); in ip6_savecontrol() [all …]
|
H A D | mld6.c | 97 struct ip6_hbh *hbh = (struct ip6_hbh *)hbh_buf; in mld6_init() local 103 hbh->ip6h_len = 0; /* (8 >> 3) - 1 */ in mld6_init() 113 ip6_opts.ip6po_hbh = hbh; in mld6_init()
|
H A D | ip6_output.c | 606 struct ip6_hbh *hbh = mtod(exthdrs.ip6e_hbh, struct ip6_hbh *); in ip6_output() local 611 if (ip6_process_hopopts(&m, (u_int8_t *)(hbh + 1), in ip6_output() 612 ((hbh->ip6h_len + 1) << 3) - sizeof(struct ip6_hbh), in ip6_output() 915 struct ip6_hbh *hbh; in ip6_insert_jumboopt() local 966 hbh = mtod(mopt, struct ip6_hbh *); in ip6_insert_jumboopt() 967 hbh->ip6h_len += (JUMBOOPTLEN >> 3); in ip6_insert_jumboopt() 2376 struct ip6_hbh *hbh; in ip6_setpktopt() local 2395 hbh = (struct ip6_hbh *)buf; in ip6_setpktopt() 2396 hbhlen = (hbh->ip6h_len + 1) << 3; in ip6_setpktopt() 2405 memcpy(opt->ip6po_hbh, hbh, hbhlen); in ip6_setpktopt()
|