Home
last modified time | relevance | path

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

/freebsd-12.1/lib/libc/net/
H A Dip6opt.c110 inet6_option_append(struct cmsghdr *cmsg, const u_int8_t *typep, int multx, in inet6_option_append() argument
118 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_append()
135 padlen = roundup2(off % multx, multx) - (off % multx); in inet6_option_append()
137 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_append()
179 inet6_option_alloc(struct cmsghdr *cmsg, int datalen, int multx, int plusy) in inet6_option_alloc() argument
187 if (multx != 1 && multx != 2 && multx != 4 && multx != 8) in inet6_option_alloc()
204 padlen = roundup2(off % multx, multx) - (off % multx); in inet6_option_alloc()
206 padlen %= multx; /* keep the pad as short as possible */ in inet6_option_alloc()