Home
last modified time | relevance | path

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

/src/lib/libc/net/
H A Dip6opt.c107 inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx, in inet6_option_append() argument
115 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_append()
132 padlen = roundup2(off % multx, multx) - (off % multx); in inet6_option_append()
134 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_append()
176 inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy) in inet6_option_alloc() argument
184 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_alloc()
201 padlen = roundup2(off % multx, multx) - (off % multx); in inet6_option_alloc()
203 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_alloc()