Home
last modified time | relevance | path

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

/net/ipv6/
Dipv6_sockglue.c145 int val, valbool; in do_ipv6_setsockopt() local
159 valbool = (val != 0); in do_ipv6_setsockopt()
260 sk->sk_ipv6only = valbool; in do_ipv6_setsockopt()
267 np->rxopt.bits.rxinfo = valbool; in do_ipv6_setsockopt()
274 np->rxopt.bits.rxoinfo = valbool; in do_ipv6_setsockopt()
281 np->rxopt.bits.rxhlim = valbool; in do_ipv6_setsockopt()
288 np->rxopt.bits.rxohlim = valbool; in do_ipv6_setsockopt()
295 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()
302 np->rxopt.bits.osrcrt = valbool; in do_ipv6_setsockopt()
309 np->rxopt.bits.hopopts = valbool; in do_ipv6_setsockopt()
[all …]
/net/core/
Dsock.c623 static inline void sock_valbool_flag(struct sock *sk, int bit, int valbool) in sock_valbool_flag() argument
625 if (valbool) in sock_valbool_flag()
660 int valbool; in sock_setsockopt() local
677 valbool = val ? 1 : 0; in sock_setsockopt()
686 sock_valbool_flag(sk, SOCK_DBG, valbool); in sock_setsockopt()
689 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sock_setsockopt()
692 sk->sk_reuseport = valbool; in sock_setsockopt()
701 sock_valbool_flag(sk, SOCK_LOCALROUTE, valbool); in sock_setsockopt()
704 sock_valbool_flag(sk, SOCK_BROADCAST, valbool); in sock_setsockopt()
765 tcp_set_keepalive(sk, valbool); in sock_setsockopt()
[all …]
/net/rds/
Daf_rds.c283 int val, valbool; in rds_enable_recvtstamp() local
291 valbool = val ? 1 : 0; in rds_enable_recvtstamp()
293 if (valbool) in rds_enable_recvtstamp()
/net/ipv4/
Dudp.c1994 int val, valbool; in udp_lib_setsockopt() local
2004 valbool = val ? 1 : 0; in udp_lib_setsockopt()
2036 up->no_check6_tx = valbool; in udp_lib_setsockopt()
2040 up->no_check6_rx = valbool; in udp_lib_setsockopt()
/net/kcm/
Dkcmsock.c1270 int val, valbool; in kcm_setsockopt() local
1282 valbool = val ? 1 : 0; in kcm_setsockopt()
1287 if (valbool) in kcm_setsockopt()