Home
last modified time | relevance | path

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

/freebsd-14.2/lib/libc/net/
H A Dip6opt.c388 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument
441 if (extbuf) { in inet6_opt_append()
442 u_int8_t *optp = (u_int8_t *)extbuf + offset; in inet6_opt_append()
471 if (extbuf) { in inet6_opt_finish()
478 padp = (u_int8_t *)extbuf + offset; in inet6_opt_finish()
509 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_next()
520 optp = (u_int8_t *)extbuf + offset; in inet6_opt_next()
539 return(optp + optlen - (u_int8_t *)extbuf); in inet6_opt_next()
558 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_find()
569 optp = (u_int8_t *)extbuf + offset; in inet6_opt_find()
[all …]
/freebsd-14.2/sbin/restore/
H A Dtape.c986 static char *extbuf; variable
998 return (extbuf); in setupextattr()
1000 free(extbuf); in setupextattr()
1001 if ((extbuf = malloc(extsize)) != NULL) { in setupextattr()
1003 return (extbuf); in setupextattr()
1006 extbuf = NULL; in setupextattr()
1022 memmove(&extbuf[extloc], buf, size); in xtrattr()
/freebsd-14.2/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-14.2/sbin/ping/
H A Dping6.c1867 pr_ip6opt(void *extbuf, size_t bufsize) in pr_ip6opt() argument
1878 ext = (struct ip6_hbh *)extbuf; in pr_ip6opt()
1896 currentlen = inet6_opt_next(extbuf, extlen, currentlen, in pr_ip6opt()
1929 pr_rthdr(void *extbuf, size_t bufsize) in pr_rthdr() argument
1933 struct ip6_rthdr *rh = (struct ip6_rthdr *)extbuf; in pr_rthdr()
1939 if ((segments = inet6_rth_segments(extbuf)) >= 0) { in pr_rthdr()
1968 in6 = inet6_rth_getaddr(extbuf, i); in pr_rthdr()