Lines Matching refs:sticky
173 static int ip6_setpktopt(int optname, u_char *buf, int len, struct ip6_pktopts *opt, int sticky, int cmsg, int uproto);
3102 * Set a particular packet option, as a sticky option or an ancillary data
3103 * item. "len" can be 0 only when it's a sticky option.
3104 * We have 4 cases of combination of "sticky" and "cmsg":
3105 * "sticky=0, cmsg=0": impossible
3106 * "sticky=0, cmsg=1": RFC2292 or RFC3542 ancillary data
3107 * "sticky=1, cmsg=0": RFC3542 socket option
3108 * "sticky=1, cmsg=1": RFC2292 socket option
3112 int sticky, int cmsg, int uproto)
3117 if (!sticky && !cmsg) {
3147 if (sticky && cmsg) {
3177 * An application can clear any sticky IPV6_PKTINFO option by
3190 sticky && !IN6_IS_ADDR_UNSPECIFIED(&pktinfo->ipi6_addr)) {
3220 * application when it is used as a sticky option.
3238 * RFC 3542 deprecated the usage of sticky IPV6_HOPLIMIT
3241 if (optname == IPV6_HOPLIMIT && sticky)