Home
last modified time | relevance | path

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

/Linux-v6.1/net/ipv6/
Dipv6_sockglue.c399 int val, valbool; in do_ipv6_setsockopt() local
413 valbool = (val != 0); in do_ipv6_setsockopt()
525 sk->sk_ipv6only = valbool; in do_ipv6_setsockopt()
532 np->rxopt.bits.rxinfo = valbool; in do_ipv6_setsockopt()
539 np->rxopt.bits.rxoinfo = valbool; in do_ipv6_setsockopt()
546 np->rxopt.bits.rxhlim = valbool; in do_ipv6_setsockopt()
553 np->rxopt.bits.rxohlim = valbool; in do_ipv6_setsockopt()
560 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt()
567 np->rxopt.bits.osrcrt = valbool; in do_ipv6_setsockopt()
574 np->rxopt.bits.hopopts = valbool; in do_ipv6_setsockopt()
[all …]
/Linux-v6.1/net/core/
Dsock.c840 void sock_set_timestamp(struct sock *sk, int optname, bool valbool) in sock_set_timestamp() argument
844 __sock_set_timestamps(sk, valbool, false, false); in sock_set_timestamp()
847 __sock_set_timestamps(sk, valbool, true, false); in sock_set_timestamp()
850 __sock_set_timestamps(sk, valbool, false, true); in sock_set_timestamp()
853 __sock_set_timestamps(sk, valbool, true, true); in sock_set_timestamp()
1087 int valbool; in sk_setsockopt() local
1104 valbool = val ? 1 : 0; in sk_setsockopt()
1113 sock_valbool_flag(sk, SOCK_DBG, valbool); in sk_setsockopt()
1116 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sk_setsockopt()
1119 sk->sk_reuseport = valbool; in sk_setsockopt()
[all …]
/Linux-v6.1/net/rds/
Daf_rds.c384 int val, valbool; in rds_enable_recvtstamp() local
392 valbool = val ? 1 : 0; in rds_enable_recvtstamp()
397 if (valbool) in rds_enable_recvtstamp()
/Linux-v6.1/net/ipv4/
Dudp.c2671 int val, valbool; in udp_lib_setsockopt() local
2681 valbool = val ? 1 : 0; in udp_lib_setsockopt()
2722 up->no_check6_tx = valbool; in udp_lib_setsockopt()
2726 up->no_check6_rx = valbool; in udp_lib_setsockopt()
2739 if (valbool) in udp_lib_setsockopt()
2741 up->gro_enabled = valbool; in udp_lib_setsockopt()
2742 up->accept_udp_l4 = valbool; in udp_lib_setsockopt()
/Linux-v6.1/net/kcm/
Dkcmsock.c1232 int val, valbool; in kcm_setsockopt() local
1244 valbool = val ? 1 : 0; in kcm_setsockopt()
1249 if (valbool) in kcm_setsockopt()
/Linux-v6.1/include/net/
Dsock.h976 int valbool) in sock_valbool_flag() argument
978 if (valbool) in sock_valbool_flag()
1255 void (*keepalive)(struct sock *sk, int valbool);
2952 void sock_set_timestamp(struct sock *sk, int optname, bool valbool);