Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dipv6_sockglue.c398 int val, valbool; in do_ipv6_setsockopt() local
412 valbool = (val != 0); in do_ipv6_setsockopt()
429 if (val != valbool) in do_ipv6_setsockopt()
431 inet6_assign_bit(MC6_LOOP, sk, valbool); in do_ipv6_setsockopt()
469 inet6_assign_bit(RECVERR6_RFC4884, sk, valbool); in do_ipv6_setsockopt()
474 inet6_assign_bit(MC6_ALL, sk, valbool); in do_ipv6_setsockopt()
477 inet6_assign_bit(AUTOFLOWLABEL, sk, valbool); in do_ipv6_setsockopt()
481 inet6_assign_bit(DONTFRAG, sk, valbool); in do_ipv6_setsockopt()
486 inet6_assign_bit(RECVERR6, sk, valbool); in do_ipv6_setsockopt()
493 inet6_assign_bit(RTALERT_ISOLATE, sk, valbool); in do_ipv6_setsockopt()
[all …]
/linux/net/core/
H A Dsock.c839 void sock_set_timestamp(struct sock *sk, int optname, bool valbool) in sock_set_timestamp() argument
843 __sock_set_timestamps(sk, valbool, false, false); in sock_set_timestamp()
846 __sock_set_timestamps(sk, valbool, true, false); in sock_set_timestamp()
849 __sock_set_timestamps(sk, valbool, false, true); in sock_set_timestamp()
852 __sock_set_timestamps(sk, valbool, true, true); in sock_set_timestamp()
1174 int valbool; in sk_setsockopt() local
1191 valbool = val ? 1 : 0; in sk_setsockopt()
1204 assign_bit(SOCK_PASSSEC, &sock->flags, valbool); in sk_setsockopt()
1207 assign_bit(SOCK_PASSCRED, &sock->flags, valbool); in sk_setsockopt()
1210 assign_bit(SOCK_PASSPIDFD, &sock->flags, valbool); in sk_setsockopt()
[all …]
/linux/net/rds/
H A 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/net/ipv4/
H A Dudp.c2857 int val, valbool; in udp_lib_setsockopt() local
2879 valbool = val ? 1 : 0; in udp_lib_setsockopt()
2920 udp_set_no_check6_tx(sk, valbool); in udp_lib_setsockopt()
2924 udp_set_no_check6_rx(sk, valbool); in udp_lib_setsockopt()
2936 if (valbool) in udp_lib_setsockopt()
2938 udp_assign_bit(GRO_ENABLED, sk, valbool); in udp_lib_setsockopt()
2939 udp_assign_bit(ACCEPT_L4, sk, valbool); in udp_lib_setsockopt()
/linux/include/net/
H A Dsock.h982 int valbool) in sock_valbool_flag() argument
984 if (valbool) in sock_valbool_flag()
1247 void (*keepalive)(struct sock *sk, int valbool);
2917 void sock_set_timestamp(struct sock *sk, int optname, bool valbool);
/linux/net/kcm/
H A Dkcmsock.c1117 int val, valbool; in kcm_setsockopt() local
1129 valbool = val ? 1 : 0; in kcm_setsockopt()
1134 if (valbool) in kcm_setsockopt()