Home
last modified time | relevance | path

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

/linux/net/ipv4/
A 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()
985 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()
1009 inet->cmsg_flags |= IP_CMSG_RETOPTS; in do_ip_setsockopt()
1015 inet->cmsg_flags |= IP_CMSG_PASSSEC; in do_ip_setsockopt()
1716 if (inet->cmsg_flags & IP_CMSG_TTL) { in do_ip_getsockopt()
[all …]
A Dtcp.c1841 int *cmsg_flags);
2280 int *cmsg_flags) in tcp_recvmsg_locked() argument
2298 *cmsg_flags = TCP_CMSG_INQ; in tcp_recvmsg_locked()
2479 *cmsg_flags |= TCP_CMSG_TS; in tcp_recvmsg_locked()
2522 int cmsg_flags = 0, ret, inq; in tcp_recvmsg() local
2535 &cmsg_flags); in tcp_recvmsg()
2538 if (cmsg_flags && ret >= 0) { in tcp_recvmsg()
2539 if (cmsg_flags & TCP_CMSG_TS) in tcp_recvmsg()
2541 if (cmsg_flags & TCP_CMSG_INQ) { in tcp_recvmsg()
A Dping.c890 if (isk->cmsg_flags) in ping_recvmsg()
917 else if (skb->protocol == htons(ETH_P_IP) && isk->cmsg_flags) in ping_recvmsg()
A Draw.c792 if (inet->cmsg_flags) in raw_recvmsg()
A Dudp.c1929 if (inet->cmsg_flags) in udp_recvmsg()
/linux/net/llc/
A Daf_llc.c654 if (llc->cmsg_flags & LLC_CMSG_PKTINFO) { in llc_cmsg_rcv()
888 if (llc_sk(sk)->cmsg_flags) in llc_ui_recvmsg()
1119 llc->cmsg_flags |= LLC_CMSG_PKTINFO; in llc_ui_setsockopt()
1121 llc->cmsg_flags &= ~LLC_CMSG_PKTINFO; in llc_ui_setsockopt()
1177 val = (llc->cmsg_flags & LLC_CMSG_PKTINFO) != 0; in llc_ui_getsockopt()
/linux/include/net/
A Dllc_conn.h79 u32 cmsg_flags; member
A Dinet_sock.h209 __u16 cmsg_flags; member
/linux/net/mptcp/
A Dprotocol.c1759 int *cmsg_flags) in __mptcp_recvmsg_mskq() argument
1781 *cmsg_flags |= MPTCP_CMSG_TS; in __mptcp_recvmsg_mskq()
1973 int copied = 0, cmsg_flags = 0; in mptcp_recvmsg() local
1995 bytes_read = __mptcp_recvmsg_mskq(msk, msg, len - copied, flags, &tss, &cmsg_flags); in mptcp_recvmsg()
2062 if (cmsg_flags && copied >= 0) { in mptcp_recvmsg()
2063 if (cmsg_flags & MPTCP_CMSG_TS) in mptcp_recvmsg()
/linux/net/l2tp/
A Dl2tp_ip.c553 if (inet->cmsg_flags) in l2tp_ip_recvmsg()
/linux/net/ipv6/
A Ddatagram.c520 if (inet_sk(sk)->cmsg_flags) in ipv6_recv_error()
A Dudp.c425 if (inet->cmsg_flags) in udpv6_recvmsg()

Completed in 189 milliseconds