Searched refs:valbool (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/net/ipv6/ |
D | ipv6_sockglue.c | 397 int val, valbool; in do_ipv6_setsockopt() local 411 valbool = (val != 0); in do_ipv6_setsockopt() 527 sk->sk_ipv6only = valbool; in do_ipv6_setsockopt() 534 np->rxopt.bits.rxinfo = valbool; in do_ipv6_setsockopt() 541 np->rxopt.bits.rxoinfo = valbool; in do_ipv6_setsockopt() 548 np->rxopt.bits.rxhlim = valbool; in do_ipv6_setsockopt() 555 np->rxopt.bits.rxohlim = valbool; in do_ipv6_setsockopt() 562 np->rxopt.bits.srcrt = valbool; in do_ipv6_setsockopt() 569 np->rxopt.bits.osrcrt = valbool; in do_ipv6_setsockopt() 576 np->rxopt.bits.hopopts = valbool; in do_ipv6_setsockopt() [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 837 int valbool; in sock_setsockopt() local 854 valbool = val ? 1 : 0; in sock_setsockopt() 863 sock_valbool_flag(sk, SOCK_DBG, valbool); in sock_setsockopt() 866 sk->sk_reuse = (valbool ? SK_CAN_REUSE : SK_NO_REUSE); in sock_setsockopt() 869 sk->sk_reuseport = valbool; in sock_setsockopt() 878 sock_valbool_flag(sk, SOCK_LOCALROUTE, valbool); in sock_setsockopt() 882 sock_valbool_flag(sk, SOCK_BROADCAST, valbool); in sock_setsockopt() 939 sk->sk_prot->keepalive(sk, valbool); in sock_setsockopt() 940 sock_valbool_flag(sk, SOCK_KEEPOPEN, valbool); in sock_setsockopt() 944 sock_valbool_flag(sk, SOCK_URGINLINE, valbool); in sock_setsockopt() [all …]
|
D | filter.c | 4710 int val, valbool; in _bpf_setsockopt() local 4724 valbool = val ? 1 : 0; in _bpf_setsockopt() 4788 sk->sk_prot->keepalive(sk, valbool); in _bpf_setsockopt() 4789 sock_valbool_flag(sk, SOCK_KEEPOPEN, valbool); in _bpf_setsockopt()
|
/kernel/linux/linux-5.10/net/rds/ |
D | af_rds.c | 384 int val, valbool; in rds_enable_recvtstamp() local 392 valbool = val ? 1 : 0; in rds_enable_recvtstamp() 397 if (valbool) in rds_enable_recvtstamp()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp.c | 2603 int val, valbool; in udp_lib_setsockopt() local 2613 valbool = val ? 1 : 0; in udp_lib_setsockopt() 2654 up->no_check6_tx = valbool; in udp_lib_setsockopt() 2658 up->no_check6_rx = valbool; in udp_lib_setsockopt() 2671 if (valbool) in udp_lib_setsockopt() 2673 up->gro_enabled = valbool; in udp_lib_setsockopt() 2674 up->accept_udp_l4 = valbool; in udp_lib_setsockopt()
|
/kernel/linux/linux-5.10/net/kcm/ |
D | kcmsock.c | 1233 int val, valbool; in kcm_setsockopt() local 1245 valbool = val ? 1 : 0; in kcm_setsockopt() 1250 if (valbool) in kcm_setsockopt()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 919 int valbool) in sock_valbool_flag() argument 921 if (valbool) in sock_valbool_flag() 1187 void (*keepalive)(struct sock *sk, int valbool);
|