Lines Matching refs:mtod
253 ip6 = mtod(m, struct ip6_hdr *); in icmp6_error2()
295 oip6 = mtod(m, struct ip6_hdr *); in icmp6_error()
339 oip6 = mtod(m, struct ip6_hdr *); in icmp6_error()
340 icp = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_error()
376 nip6 = mtod(m, struct ip6_hdr *); in icmp6_error()
484 ip6 = mtod(m, struct ip6_hdr *); in icmp6_input()
588 nip6 = mtod(n, struct ip6_hdr *); in icmp6_input()
611 nicmp6 = (struct icmp6_hdr *)(mtod(n, caddr_t) + off); in icmp6_input()
726 nip6 = mtod(n, struct ip6_hdr *); in icmp6_input()
943 icmp6 = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_notify_error()
976 (mtod(m, caddr_t) + eoff); in icmp6_notify_error()
1001 (mtod(m, caddr_t) + eoff); in icmp6_notify_error()
1025 (mtod(m, caddr_t) + eoff); in icmp6_notify_error()
1045 fh = (struct ip6_frag *)(mtod(m, caddr_t) + in icmp6_notify_error()
1072 icmp6 = (struct icmp6_hdr *)(mtod(m, caddr_t) + off); in icmp6_notify_error()
1220 ip6 = mtod(m, struct ip6_hdr *); in ni6_input()
1221 ni6 = (struct icmp6_nodeinfo *)(mtod(m, caddr_t) + off); in ni6_input()
1364 ni6 = (struct icmp6_nodeinfo *)(mtod(m, caddr_t) + off); in ni6_input()
1365 subj = (char *)(mtod(m, caddr_t) + off + in ni6_input()
1367 if (!ni6_dnsmatch(subj, subjlen, mtod(n, const char *), in ni6_input()
1452 bcopy(mtod(m, caddr_t), mtod(n, caddr_t), sizeof(struct ip6_hdr)); in ni6_input()
1453 nni6 = (struct icmp6_nodeinfo *)(mtod(n, struct ip6_hdr *) + 1); in ni6_input()
1474 fqdn = (struct ni_reply_fqdn *)(mtod(n, caddr_t) + in ni6_input()
1552 *mtod(m, char *) = namelen; in ni6_nametodns()
1553 bcopy(name, mtod(m, char *) + 1, namelen); in ni6_nametodns()
1557 cp = mtod(m, char *); in ni6_nametodns()
1558 ep = mtod(m, char *) + M_TRAILINGSPACE(m); in ni6_nametodns()
1605 m->m_len = cp - mtod(m, char *); in ni6_nametodns()
1933 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); in icmp6_rip6_input()
2072 bcopy((caddr_t)&nip6, mtod(m, caddr_t), sizeof(nip6)); in icmp6_reflect()
2082 ip6 = mtod(m, struct ip6_hdr *); in icmp6_reflect()
2214 ip6 = mtod(m, struct ip6_hdr *); in icmp6_redirect_input()
2223 ip6 = mtod(m, struct ip6_hdr *); in icmp6_redirect_input()
2423 sip6 = mtod(m0, struct ip6_hdr *); in icmp6_redirect_output()
2479 ip6 = mtod(m, struct ip6_hdr *); in icmp6_redirect_output()