Home
last modified time | relevance | path

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

/freebsd-13.1/lib/libc/net/
H A Dip6opt.c391 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument
444 if (extbuf) { in inet6_opt_append()
445 u_int8_t *optp = (u_int8_t *)extbuf + offset; in inet6_opt_append()
474 if (extbuf) { in inet6_opt_finish()
481 padp = (u_int8_t *)extbuf + offset; in inet6_opt_finish()
512 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_next()
523 optp = (u_int8_t *)extbuf + offset; in inet6_opt_next()
542 return(optp + optlen - (u_int8_t *)extbuf); in inet6_opt_next()
561 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_find()
572 optp = (u_int8_t *)extbuf + offset; in inet6_opt_find()
[all …]
/freebsd-13.1/sbin/restore/
H A Dtape.c988 static char *extbuf; variable
1000 return (extbuf); in setupextattr()
1002 free(extbuf); in setupextattr()
1003 if ((extbuf = malloc(extsize)) != NULL) { in setupextattr()
1005 return (extbuf); in setupextattr()
1008 extbuf = NULL; in setupextattr()
1024 memmove(&extbuf[extloc], buf, size); in xtrattr()
/freebsd-13.1/contrib/dma/
H A Dnet.c127 read_remote(int fd, int extbufsize, char *extbuf) in read_remote() argument
189 if (extbufpos <= (extbufsize - 1) && rlen > 0 && extbufsize > 0 && extbuf != NULL) { in read_remote()
194 memcpy(extbuf + extbufpos, buff + len - rlen, rlen); in read_remote()
/freebsd-13.1/sbin/ping/
H A Dping6.c1903 pr_ip6opt(void *extbuf, size_t bufsize) in pr_ip6opt() argument
1914 ext = (struct ip6_hbh *)extbuf; in pr_ip6opt()
1932 currentlen = inet6_opt_next(extbuf, extlen, currentlen, in pr_ip6opt()
1965 pr_rthdr(void *extbuf, size_t bufsize) in pr_rthdr() argument
1969 struct ip6_rthdr *rh = (struct ip6_rthdr *)extbuf; in pr_rthdr()
1975 if ((segments = inet6_rth_segments(extbuf)) >= 0) { in pr_rthdr()
2004 in6 = inet6_rth_getaddr(extbuf, i); in pr_rthdr()