PATH:
usr
/
src
/
linux-headers-5.4.0-216
/
include
/
net
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef NET_COMPAT_H #define NET_COMPAT_H struct sock; #if defined(CONFIG_COMPAT) #include <linux/compat.h> struct compat_msghdr { compat_uptr_t msg_name; /* void * */ compat_int_t msg_namelen; compat_uptr_t msg_iov; /* struct compat_iovec * */ compat_size_t msg_iovlen; compat_uptr_t msg_control; /* void * */ compat_size_t msg_controllen; compat_uint_t msg_flags; }; struct compat_mmsghdr { struct compat_msghdr msg_hdr; compat_uint_t msg_len; }; struct compat_cmsghdr { compat_size_t cmsg_len; compat_int_t cmsg_level; compat_int_t cmsg_type; }; #else /* defined(CONFIG_COMPAT) */ /* * To avoid compiler warnings: */ #define compat_msghdr msghdr #define compat_mmsghdr mmsghdr #endif /* defined(CONFIG_COMPAT) */ int get_compat_msghdr(struct msghdr *, struct compat_msghdr __user *, struct sockaddr __user **, struct iovec **); struct sock_fprog __user *get_compat_bpf_fprog(char __user *optval); int put_cmsg_compat(struct msghdr*, int, int, int, void *); int cmsghdr_from_user_compat_to_kern(struct msghdr *, struct sock *, unsigned char *, int); int compat_mc_setsockopt(struct sock *, int, int, char __user *, unsigned int, int (*)(struct sock *, int, int, char __user *, unsigned int)); int compat_mc_getsockopt(struct sock *, int, int, char __user *, int __user *, int (*)(struct sock *, int, int, char __user *, int __user *)); #endif /* NET_COMPAT_H */
[+]
..
[-] ila.h
[edit]
[-] icmp.h
[edit]
[-] dst.h
[edit]
[-] l3mdev.h
[edit]
[-] act_api.h
[edit]
[-] nsh.h
[edit]
[-] llc_c_st.h
[edit]
[+]
netfilter
[-] slhc_vj.h
[edit]
[-] ipconfig.h
[edit]
[-] ax88796.h
[edit]
[-] inet_ecn.h
[edit]
[-] inet6_connection_sock.h
[edit]
[-] bpf_sk_storage.h
[edit]
[-] tun_proto.h
[edit]
[-] esp.h
[edit]
[-] inet_frag.h
[edit]
[-] tcp.h
[edit]
[-] failover.h
[edit]
[-] switchdev.h
[edit]
[-] vsock_addr.h
[edit]
[-] ieee80211_radiotap.h
[edit]
[-] ip_fib.h
[edit]
[-] pkt_sched.h
[edit]
[-] x25device.h
[edit]
[-] cfg80211.h
[edit]
[-] tso.h
[edit]
[-] ndisc.h
[edit]
[-] psnap.h
[edit]
[-] net_failover.h
[edit]
[-] seg6.h
[edit]
[-] gre.h
[edit]
[-] sch_generic.h
[edit]
[-] smc.h
[edit]
[-] neighbour.h
[edit]
[-] dsfield.h
[edit]
[-] llc_conn.h
[edit]
[-] arp.h
[edit]
[-] rawv6.h
[edit]
[-] ipcomp.h
[edit]
[-] ipx.h
[edit]
[-] page_pool.h
[edit]
[-] netprio_cgroup.h
[edit]
[+]
sctp
[-] bond_options.h
[edit]
[-] mpls_iptunnel.h
[edit]
[-] tipc.h
[edit]
[-] xdp.h
[edit]
[-] af_ieee802154.h
[edit]
[-] fou.h
[edit]
[-] inetpeer.h
[edit]
[-] garp.h
[edit]
[-] codel_impl.h
[edit]
[-] net_ratelimit.h
[edit]
[-] llc_pdu.h
[edit]
[-] gue.h
[edit]
[-] hwbm.h
[edit]
[-] Space.h
[edit]
[-] route.h
[edit]
[-] gen_stats.h
[edit]
[-] llc.h
[edit]
[-] mpls.h
[edit]
[-] llc_if.h
[edit]
[-] udplite.h
[edit]
[-] dcbevent.h
[edit]
[-] mip6.h
[edit]
[-] codel_qdisc.h
[edit]
[-] genetlink.h
[edit]
[-] stp.h
[edit]
[-] mac80211.h
[edit]
[-] ethoc.h
[edit]
[-] regulatory.h
[edit]
[-] gtp.h
[edit]
[+]
9p
[-] wimax.h
[edit]
[-] seg6_hmac.h
[edit]
[-] rtnh.h
[edit]
[-] flow_dissector.h
[edit]
[-] ip.h
[edit]
[-] ip_tunnels.h
[edit]
[+]
iucv
[-] lib80211.h
[edit]
[-] nl802154.h
[edit]
[-] atmclip.h
[edit]
[-] mrp.h
[edit]
[-] rose.h
[edit]
[-] devlink.h
[edit]
[-] timewait_sock.h
[edit]
[-] erspan.h
[edit]
[-] netrom.h
[edit]
[-] netlink.h
[edit]
[-] bonding.h
[edit]
[-] dst_ops.h
[edit]
[-] dst_metadata.h
[edit]
[-] ip_vs.h
[edit]
[-] fq.h
[edit]
[-] ipv6_frag.h
[edit]
[-] dst_cache.h
[edit]
[-] llc_c_ev.h
[edit]
[-] ah.h
[edit]
[-] pkt_cls.h
[edit]
[-] ping.h
[edit]
[-] cipso_ipv4.h
[edit]
[-] af_rxrpc.h
[edit]
[+]
bluetooth
[-] inet_sock.h
[edit]
[-] llc_c_ac.h
[edit]
[-] iw_handler.h
[edit]
[-] wext.h
[edit]
[-] mac802154.h
[edit]
[-] 6lowpan.h
[edit]
[-] strparser.h
[edit]
[-] af_unix.h
[edit]
[-] af_vsock.h
[edit]
[-] xfrm.h
[edit]
[-] ip6_checksum.h
[edit]
[-] nexthop.h
[edit]
[-] cfg80211-wext.h
[edit]
[-] seg6_local.h
[edit]
[-] udp.h
[edit]
[-] snmp.h
[edit]
[-] netevent.h
[edit]
[-] ip6_route.h
[edit]
[-] raw.h
[edit]
[-] secure_seq.h
[edit]
[-] flow_offload.h
[edit]
[-] pptp.h
[edit]
[-] ip6_fib.h
[edit]
[+]
tc_act
[-] calipso.h
[edit]
[-] busy_poll.h
[edit]
[-] request_sock.h
[edit]
[-] firewire.h
[edit]
[-] ipv6_stubs.h
[edit]
[-] p8022.h
[edit]
[+]
phonet
[-] fib_notifier.h
[edit]
[-] kcm.h
[edit]
[-] ip6_tunnel.h
[edit]
[-] psample.h
[edit]
[-] inet_hashtables.h
[edit]
[-] drop_monitor.h
[edit]
[-] sock_reuseport.h
[edit]
[-] tls.h
[edit]
[-] mld.h
[edit]
[-] tcp_states.h
[edit]
[-] ieee802154_netdev.h
[edit]
[-] datalink.h
[edit]
[-] codel.h
[edit]
[+]
nfc
[-] rtnetlink.h
[edit]
[-] llc_sap.h
[edit]
[-] geneve.h
[edit]
[-] xdp_sock.h
[edit]
[-] compat.h
[edit]
[-] bond_3ad.h
[edit]
[-] fq_impl.h
[edit]
[-] x25.h
[edit]
[-] ife.h
[edit]
[-] fib_rules.h
[edit]
[-] transp_v6.h
[edit]
[-] ncsi.h
[edit]
[-] lapb.h
[edit]
[-] ipv6.h
[edit]
[-] inet_common.h
[edit]
[-] inet_timewait_sock.h
[edit]
[-] protocol.h
[edit]
[-] inet6_hashtables.h
[edit]
[-] llc_s_ev.h
[edit]
[-] inet_connection_sock.h
[edit]
[-] bond_alb.h
[edit]
[-] flow.h
[edit]
[-] sock.h
[edit]
[-] dsa.h
[edit]
[+]
netns
[-] net_namespace.h
[edit]
[-] checksum.h
[edit]
[-] xdp_priv.h
[edit]
[-] vxlan.h
[edit]
[-] cfg802154.h
[edit]
[-] netlabel.h
[edit]
[-] red.h
[edit]
[-] scm.h
[edit]
[-] rsi_91x.h
[edit]
[-] llc_s_st.h
[edit]
[-] gro_cells.h
[edit]
[-] addrconf.h
[edit]
[-] if_inet6.h
[edit]
[-] udp_tunnel.h
[edit]
[+]
caif
[-] ax25.h
[edit]
[-] dcbnl.h
[edit]
[-] lag.h
[edit]
[-] cls_cgroup.h
[edit]
[-] lwtunnel.h
[edit]
[-] llc_s_ac.h
[edit]