Home
last modified time | relevance | path

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

/freebsd/lib/libc/net/
H A Dip6opt.c388 inet6_opt_init(void *extbuf, socklen_t extlen) in inet6_opt_init() argument
390 struct ip6_ext *ext = (struct ip6_ext *)extbuf; in inet6_opt_init()
402 inet6_opt_append(void *extbuf, socklen_t extlen, int offset, u_int8_t type, in inet6_opt_append() argument
441 if (extbuf) { in inet6_opt_append()
442 u_int8_t *optp = (u_int8_t *)extbuf + offset; in inet6_opt_append()
467 inet6_opt_finish(void *extbuf, socklen_t extlen, int offset) in inet6_opt_finish() argument
471 if (extbuf) { in inet6_opt_finish()
478 padp = (u_int8_t *)extbuf + offset; in inet6_opt_finish()
500 inet6_opt_next(void *extbuf, socklen_t extlen, int offset, u_int8_t *typep, in inet6_opt_next() argument
509 lim = (u_int8_t *)extbuf + extlen; in inet6_opt_next()
[all …]
/freebsd/sbin/restore/
H A Dtape.c980 static char *extbuf;
992 return (extbuf); in setupextattr()
994 free(extbuf); in setupextattr()
995 if ((extbuf = malloc(extsize)) != NULL) { in setupextattr()
997 return (extbuf); in setupextattr()
1000 extbuf = NULL; in setupextattr()
1016 memmove(&extbuf[extloc], buf, size); in xtrattr()
979 static char *extbuf; global() variable
/freebsd/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/sbin/ping/
H A Dping6.c1854 pr_ip6opt(void *extbuf, size_t bufsize) in pr_ip6opt() argument
1865 ext = (struct ip6_hbh *)extbuf; in pr_ip6opt()
1883 currentlen = inet6_opt_next(extbuf, extlen, currentlen, in pr_ip6opt()
1916 pr_rthdr(void *extbuf, size_t bufsize) in pr_rthdr() argument
1920 struct ip6_rthdr *rh = (struct ip6_rthdr *)extbuf; in pr_rthdr()
1926 if ((segments = inet6_rth_segments(extbuf)) >= 0) { in pr_rthdr()
1955 in6 = inet6_rth_getaddr(extbuf, i); in pr_rthdr()