Home
last modified time | relevance | path

Searched refs:cmsg_flags (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/net/ipv4/
Dip_sockglue.c175 unsigned int flags = inet->cmsg_flags; in ip_cmsg_recv_offset()
563 if (inet_sk(sk)->cmsg_flags) in ip_recv_error()
630 inet_sk(sk)->cmsg_flags |= IP_CMSG_PKTINFO; in ip_sock_set_pktinfo()
985 inet->cmsg_flags |= IP_CMSG_PKTINFO; in do_ip_setsockopt()
987 inet->cmsg_flags &= ~IP_CMSG_PKTINFO; in do_ip_setsockopt()
991 inet->cmsg_flags |= IP_CMSG_TTL; in do_ip_setsockopt()
993 inet->cmsg_flags &= ~IP_CMSG_TTL; in do_ip_setsockopt()
997 inet->cmsg_flags |= IP_CMSG_TOS; in do_ip_setsockopt()
999 inet->cmsg_flags &= ~IP_CMSG_TOS; in do_ip_setsockopt()
1003 inet->cmsg_flags |= IP_CMSG_RECVOPTS; in do_ip_setsockopt()
[all …]
Dtcp.c1988 int *cmsg_flags);
2426 int *cmsg_flags) in tcp_recvmsg_locked() argument
2444 *cmsg_flags = TCP_CMSG_INQ; in tcp_recvmsg_locked()
2625 *cmsg_flags |= TCP_CMSG_TS; in tcp_recvmsg_locked()
2668 int cmsg_flags = 0, ret; in tcp_recvmsg() local
2680 ret = tcp_recvmsg_locked(sk, msg, len, flags, &tss, &cmsg_flags); in tcp_recvmsg()
2683 if ((cmsg_flags || msg->msg_get_inq) && ret >= 0) { in tcp_recvmsg()
2684 if (cmsg_flags & TCP_CMSG_TS) in tcp_recvmsg()
2688 if (cmsg_flags & TCP_CMSG_INQ) in tcp_recvmsg()
Dping.c912 if (isk->cmsg_flags) in ping_recvmsg()
939 else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) in ping_recvmsg()
Draw.c768 if (inet->cmsg_flags) in raw_recvmsg()
Dudp.c1924 if (inet->cmsg_flags) in udp_recvmsg()
/linux-6.1.9/include/net/
Dllc_conn.h80 u32 cmsg_flags; member
Dinet_sock.h222 __u16 cmsg_flags; member
/linux-6.1.9/net/llc/
Daf_llc.c672 if (llc->cmsg_flags & LLC_CMSG_PKTINFO) { in llc_cmsg_rcv()
906 if (llc_sk(sk)->cmsg_flags) in llc_ui_recvmsg()
1137 llc->cmsg_flags |= LLC_CMSG_PKTINFO; in llc_ui_setsockopt()
1139 llc->cmsg_flags &= ~LLC_CMSG_PKTINFO; in llc_ui_setsockopt()
1195 val = (llc->cmsg_flags & LLC_CMSG_PKTINFO) != 0; in llc_ui_getsockopt()
/linux-6.1.9/net/mptcp/
Dprotocol.c1846 int *cmsg_flags) in __mptcp_recvmsg_mskq() argument
1868 *cmsg_flags |= MPTCP_CMSG_TS; in __mptcp_recvmsg_mskq()
2082 int copied = 0, cmsg_flags = 0; in mptcp_recvmsg() local
2102 cmsg_flags = MPTCP_CMSG_INQ; in mptcp_recvmsg()
2107 bytes_read = __mptcp_recvmsg_mskq(msk, msg, len - copied, flags, &tss, &cmsg_flags); in mptcp_recvmsg()
2174 if (cmsg_flags && copied >= 0) { in mptcp_recvmsg()
2175 if (cmsg_flags & MPTCP_CMSG_TS) in mptcp_recvmsg()
2178 if (cmsg_flags & MPTCP_CMSG_INQ) { in mptcp_recvmsg()
/linux-6.1.9/net/l2tp/
Dl2tp_ip.c555 if (inet->cmsg_flags) in l2tp_ip_recvmsg()
/linux-6.1.9/net/ipv6/
Ddatagram.c525 if (inet_sk(sk)->cmsg_flags) in ipv6_recv_error()
Dudp.c441 if (inet->cmsg_flags) in udpv6_recvmsg()