Home
last modified time | relevance | path

Searched refs:extbuf (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/lib/libc/net/
H A Dip6opt.c441 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument
443 struct ip6_ext *ext = (struct ip6_ext *)extbuf; in inet6_opt_init()
455 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, uint8_t type, in inet6_opt_append() argument
496 if (extbuf) { in inet6_opt_append()
497 uint8_t *optp = (uint8_t *)extbuf + offset; in inet6_opt_append()
522 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) in inet6_opt_finish() argument
526 if (extbuf) { in inet6_opt_finish()
533 padp = (uint8_t *)extbuf + offset; in inet6_opt_finish()
555 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, uint8_t *typep, in inet6_opt_next() argument
564 lim = (uint8_t *)extbuf + extlen; in inet6_opt_next()
[all …]
/netbsd-src/sbin/restore/
H A Dtape.c1142 static char *extbuf; variable
1154 return (extbuf); in setupextattr()
1156 free(extbuf); in setupextattr()
1157 if ((extbuf = malloc(extsize)) != NULL) { in setupextattr()
1159 return (extbuf); in setupextattr()
1162 extbuf = NULL; in setupextattr()
1178 memmove(&extbuf[extloc], buf, size); in xtrattr()
/netbsd-src/sbin/ping6/
H A Dping6.c1603 pr_ip6opt(void *extbuf) in pr_ip6opt() argument
1615 ext = (struct ip6_hbh *)extbuf; in pr_ip6opt()
1622 currentlen = inet6_opt_next(extbuf, extlen, currentlen, in pr_ip6opt()
1655 pr_rthdr(void *extbuf) in pr_rthdr() argument
1659 struct ip6_rthdr *rh = (struct ip6_rthdr *)extbuf; in pr_rthdr()
1665 if ((segments = inet6_rth_segments(extbuf)) >= 0) in pr_rthdr()
1672 in6 = inet6_rth_getaddr(extbuf, i); in pr_rthdr()