SM0 She11
Path:
/
/
usr
/
include
/
linux
Full Path (server): /usr/include/linux
Create Fil3
Upl04d Fil3
📄 a.out.h
[E]
[D]
[R]
📄 acct.h
[E]
[D]
[R]
📄 adb.h
[E]
[D]
[R]
📄 adfs_fs.h
[E]
[D]
[R]
📄 affs_hardblocks.h
[E]
[D]
[R]
📄 agpgart.h
[E]
[D]
[R]
📄 aio_abi.h
[E]
[D]
[R]
📄 apm_bios.h
[E]
[D]
[R]
📄 arcfb.h
[E]
[D]
[R]
📄 atalk.h
[E]
[D]
[R]
📄 atm.h
[E]
[D]
[R]
📄 atm_eni.h
[E]
[D]
[R]
📄 atm_he.h
[E]
[D]
[R]
📄 atm_idt77105.h
[E]
[D]
[R]
📄 atm_nicstar.h
[E]
[D]
[R]
📄 atm_tcp.h
[E]
[D]
[R]
📄 atm_zatm.h
[E]
[D]
[R]
📄 atmapi.h
[E]
[D]
[R]
📄 atmarp.h
[E]
[D]
[R]
📄 atmbr2684.h
[E]
[D]
[R]
📄 atmclip.h
[E]
[D]
[R]
📄 atmdev.h
[E]
[D]
[R]
📄 atmioc.h
[E]
[D]
[R]
📄 atmlec.h
[E]
[D]
[R]
📄 atmmpc.h
[E]
[D]
[R]
📄 atmppp.h
[E]
[D]
[R]
📄 atmsap.h
[E]
[D]
[R]
📄 atmsvc.h
[E]
[D]
[R]
📄 audit.h
[E]
[D]
[R]
📄 auto_fs.h
[E]
[D]
[R]
📄 auto_fs4.h
[E]
[D]
[R]
📄 auxvec.h
[E]
[D]
[R]
📄 ax25.h
[E]
[D]
[R]
📄 b1lli.h
[E]
[D]
[R]
📄 baycom.h
[E]
[D]
[R]
📄 bfs_fs.h
[E]
[D]
[R]
📄 binfmts.h
[E]
[D]
[R]
📄 blkpg.h
[E]
[D]
[R]
📄 blktrace_api.h
[E]
[D]
[R]
📄 bpf.h
[E]
[D]
[R]
📄 bpf_common.h
[E]
[D]
[R]
📄 bpf_perf_event.h
[E]
[D]
[R]
📄 bpqether.h
[E]
[D]
[R]
📄 bsg.h
[E]
[D]
[R]
📄 bt-bmc.h
[E]
[D]
[R]
📄 btrfs.h
[E]
[D]
[R]
📁 byteorder
Open
[D]
[R]
📁 caif
Open
[D]
[R]
📁 can
Open
[D]
[R]
📄 can.h
[E]
[D]
[R]
📄 capability.h
[E]
[D]
[R]
📄 capi.h
[E]
[D]
[R]
📄 cciss_defs.h
[E]
[D]
[R]
📄 cciss_ioctl.h
[E]
[D]
[R]
📄 cdrom.h
[E]
[D]
[R]
📄 cgroupstats.h
[E]
[D]
[R]
📄 chio.h
[E]
[D]
[R]
📄 cm4000_cs.h
[E]
[D]
[R]
📄 cn_proc.h
[E]
[D]
[R]
📄 coda.h
[E]
[D]
[R]
📄 coda_psdev.h
[E]
[D]
[R]
📄 coff.h
[E]
[D]
[R]
📄 connector.h
[E]
[D]
[R]
📄 const.h
[E]
[D]
[R]
📄 cramfs_fs.h
[E]
[D]
[R]
📄 cuda.h
[E]
[D]
[R]
📄 cyclades.h
[E]
[D]
[R]
📄 cycx_cfm.h
[E]
[D]
[R]
📄 dcbnl.h
[E]
[D]
[R]
📄 dccp.h
[E]
[D]
[R]
📄 devlink.h
[E]
[D]
[R]
📄 dlm.h
[E]
[D]
[R]
📄 dlm_device.h
[E]
[D]
[R]
📄 dlm_netlink.h
[E]
[D]
[R]
📄 dlm_plock.h
[E]
[D]
[R]
📄 dlmconstants.h
[E]
[D]
[R]
📄 dm-ioctl.h
[E]
[D]
[R]
📄 dm-log-userspace.h
[E]
[D]
[R]
📄 dn.h
[E]
[D]
[R]
📄 dqblk_xfs.h
[E]
[D]
[R]
📁 dvb
Open
[D]
[R]
📄 edd.h
[E]
[D]
[R]
📄 efs_fs_sb.h
[E]
[D]
[R]
📄 elf-em.h
[E]
[D]
[R]
📄 elf-fdpic.h
[E]
[D]
[R]
📄 elf.h
[E]
[D]
[R]
📄 elfcore.h
[E]
[D]
[R]
📄 errno.h
[E]
[D]
[R]
📄 errqueue.h
[E]
[D]
[R]
📄 ethtool.h
[E]
[D]
[R]
📄 eventpoll.h
[E]
[D]
[R]
📄 fadvise.h
[E]
[D]
[R]
📄 falloc.h
[E]
[D]
[R]
📄 fanotify.h
[E]
[D]
[R]
📄 fb.h
[E]
[D]
[R]
📄 fcntl.h
[E]
[D]
[R]
📄 fd.h
[E]
[D]
[R]
📄 fdreg.h
[E]
[D]
[R]
📄 fib_rules.h
[E]
[D]
[R]
📄 fiemap.h
[E]
[D]
[R]
📄 filter.h
[E]
[D]
[R]
📄 firewire-cdev.h
[E]
[D]
[R]
📄 firewire-constants.h
[E]
[D]
[R]
📄 flat.h
[E]
[D]
[R]
📄 fou.h
[E]
[D]
[R]
📄 fs.h
[E]
[D]
[R]
📄 fsl_hypervisor.h
[E]
[D]
[R]
📄 fuse.h
[E]
[D]
[R]
📄 futex.h
[E]
[D]
[R]
📄 gameport.h
[E]
[D]
[R]
📄 gen_stats.h
[E]
[D]
[R]
📄 genetlink.h
[E]
[D]
[R]
📄 gfs2_ondisk.h
[E]
[D]
[R]
📄 gigaset_dev.h
[E]
[D]
[R]
📁 hdlc
Open
[D]
[R]
📄 hdlc.h
[E]
[D]
[R]
📄 hdlcdrv.h
[E]
[D]
[R]
📄 hdreg.h
[E]
[D]
[R]
📄 hid.h
[E]
[D]
[R]
📄 hiddev.h
[E]
[D]
[R]
📄 hidraw.h
[E]
[D]
[R]
📄 hpet.h
[E]
[D]
[R]
📁 hsi
Open
[D]
[R]
📄 hw_breakpoint.h
[E]
[D]
[R]
📄 hyperv.h
[E]
[D]
[R]
📄 hysdn_if.h
[E]
[D]
[R]
📄 i2c-dev.h
[E]
[D]
[R]
📄 i2c.h
[E]
[D]
[R]
📄 i2o-dev.h
[E]
[D]
[R]
📄 i8k.h
[E]
[D]
[R]
📄 icmp.h
[E]
[D]
[R]
📄 icmpv6.h
[E]
[D]
[R]
📄 if.h
[E]
[D]
[R]
📄 if_addr.h
[E]
[D]
[R]
📄 if_addrlabel.h
[E]
[D]
[R]
📄 if_alg.h
[E]
[D]
[R]
📄 if_arcnet.h
[E]
[D]
[R]
📄 if_arp.h
[E]
[D]
[R]
📄 if_bonding.h
[E]
[D]
[R]
📄 if_bridge.h
[E]
[D]
[R]
📄 if_cablemodem.h
[E]
[D]
[R]
📄 if_eql.h
[E]
[D]
[R]
📄 if_ether.h
[E]
[D]
[R]
📄 if_fc.h
[E]
[D]
[R]
📄 if_fddi.h
[E]
[D]
[R]
📄 if_frad.h
[E]
[D]
[R]
📄 if_hippi.h
[E]
[D]
[R]
📄 if_infiniband.h
[E]
[D]
[R]
📄 if_link.h
[E]
[D]
[R]
📄 if_ltalk.h
[E]
[D]
[R]
📄 if_macsec.h
[E]
[D]
[R]
📄 if_packet.h
[E]
[D]
[R]
📄 if_phonet.h
[E]
[D]
[R]
📄 if_plip.h
[E]
[D]
[R]
📄 if_ppp.h
[E]
[D]
[R]
📄 if_pppol2tp.h
[E]
[D]
[R]
📄 if_pppox.h
[E]
[D]
[R]
📄 if_slip.h
[E]
[D]
[R]
📄 if_team.h
[E]
[D]
[R]
📄 if_tun.h
[E]
[D]
[R]
📄 if_tunnel.h
[E]
[D]
[R]
📄 if_vlan.h
[E]
[D]
[R]
📄 if_x25.h
[E]
[D]
[R]
📄 ife.h
[E]
[D]
[R]
📄 igmp.h
[E]
[D]
[R]
📁 iio
Open
[D]
[R]
📄 in.h
[E]
[D]
[R]
📄 in6.h
[E]
[D]
[R]
📄 in_route.h
[E]
[D]
[R]
📄 inet_diag.h
[E]
[D]
[R]
📄 inotify.h
[E]
[D]
[R]
📄 input.h
[E]
[D]
[R]
📄 ioctl.h
[E]
[D]
[R]
📄 ip.h
[E]
[D]
[R]
📄 ip6_tunnel.h
[E]
[D]
[R]
📄 ip_vs.h
[E]
[D]
[R]
📄 ipc.h
[E]
[D]
[R]
📄 ipmi.h
[E]
[D]
[R]
📄 ipmi_msgdefs.h
[E]
[D]
[R]
📄 ipsec.h
[E]
[D]
[R]
📄 ipv6.h
[E]
[D]
[R]
📄 ipv6_route.h
[E]
[D]
[R]
📄 ipx.h
[E]
[D]
[R]
📄 irda.h
[E]
[D]
[R]
📄 irqnr.h
[E]
[D]
[R]
📁 isdn
Open
[D]
[R]
📄 isdn.h
[E]
[D]
[R]
📄 isdn_divertif.h
[E]
[D]
[R]
📄 isdn_ppp.h
[E]
[D]
[R]
📄 isdnif.h
[E]
[D]
[R]
📄 iso_fs.h
[E]
[D]
[R]
📄 ivtv.h
[E]
[D]
[R]
📄 ivtvfb.h
[E]
[D]
[R]
📄 ixjuser.h
[E]
[D]
[R]
📄 jffs2.h
[E]
[D]
[R]
📄 joystick.h
[E]
[D]
[R]
📄 kd.h
[E]
[D]
[R]
📄 kdev_t.h
[E]
[D]
[R]
📄 kernel-page-flags.h
[E]
[D]
[R]
📄 kernel.h
[E]
[D]
[R]
📄 kernelcapi.h
[E]
[D]
[R]
📄 kexec.h
[E]
[D]
[R]
📄 keyboard.h
[E]
[D]
[R]
📄 keyctl.h
[E]
[D]
[R]
📄 kvm.h
[E]
[D]
[R]
📄 kvm_para.h
[E]
[D]
[R]
📄 l2tp.h
[E]
[D]
[R]
📄 libc-compat.h
[E]
[D]
[R]
📄 limits.h
[E]
[D]
[R]
📄 llc.h
[E]
[D]
[R]
📄 loop.h
[E]
[D]
[R]
📄 lp.h
[E]
[D]
[R]
📄 lwtunnel.h
[E]
[D]
[R]
📄 magic.h
[E]
[D]
[R]
📄 major.h
[E]
[D]
[R]
📄 map_to_7segment.h
[E]
[D]
[R]
📄 matroxfb.h
[E]
[D]
[R]
📄 mdio.h
[E]
[D]
[R]
📄 media.h
[E]
[D]
[R]
📄 mei.h
[E]
[D]
[R]
📄 membarrier.h
[E]
[D]
[R]
📄 memfd.h
[E]
[D]
[R]
📄 mempolicy.h
[E]
[D]
[R]
📄 meye.h
[E]
[D]
[R]
📄 mii.h
[E]
[D]
[R]
📄 minix_fs.h
[E]
[D]
[R]
📄 mman.h
[E]
[D]
[R]
📁 mmc
Open
[D]
[R]
📄 mmtimer.h
[E]
[D]
[R]
📄 mpls.h
[E]
[D]
[R]
📄 mqueue.h
[E]
[D]
[R]
📄 mroute.h
[E]
[D]
[R]
📄 mroute6.h
[E]
[D]
[R]
📄 msdos_fs.h
[E]
[D]
[R]
📄 msg.h
[E]
[D]
[R]
📄 mtio.h
[E]
[D]
[R]
📄 n_r3964.h
[E]
[D]
[R]
📄 nbd.h
[E]
[D]
[R]
📄 ncp.h
[E]
[D]
[R]
📄 ncp_fs.h
[E]
[D]
[R]
📄 ncp_mount.h
[E]
[D]
[R]
📄 ncp_no.h
[E]
[D]
[R]
📄 ndctl.h
[E]
[D]
[R]
📄 neighbour.h
[E]
[D]
[R]
📄 net.h
[E]
[D]
[R]
📄 net_dropmon.h
[E]
[D]
[R]
📄 net_namespace.h
[E]
[D]
[R]
📄 net_tstamp.h
[E]
[D]
[R]
📄 netconf.h
[E]
[D]
[R]
📄 netdevice.h
[E]
[D]
[R]
📁 netfilter
Open
[D]
[R]
📄 netfilter.h
[E]
[D]
[R]
📁 netfilter_arp
Open
[D]
[R]
📄 netfilter_arp.h
[E]
[D]
[R]
📁 netfilter_bridge
Open
[D]
[R]
📄 netfilter_bridge.h
[E]
[D]
[R]
📄 netfilter_decnet.h
[E]
[D]
[R]
📁 netfilter_ipv4
Open
[D]
[R]
📄 netfilter_ipv4.h
[E]
[D]
[R]
📁 netfilter_ipv6
Open
[D]
[R]
📄 netfilter_ipv6.h
[E]
[D]
[R]
📄 netlink.h
[E]
[D]
[R]
📄 netlink_diag.h
[E]
[D]
[R]
📄 netrom.h
[E]
[D]
[R]
📄 nfc.h
[E]
[D]
[R]
📄 nfs.h
[E]
[D]
[R]
📄 nfs2.h
[E]
[D]
[R]
📄 nfs3.h
[E]
[D]
[R]
📄 nfs4.h
[E]
[D]
[R]
📄 nfs4_mount.h
[E]
[D]
[R]
📄 nfs_fs.h
[E]
[D]
[R]
📄 nfs_idmap.h
[E]
[D]
[R]
📄 nfs_mount.h
[E]
[D]
[R]
📄 nfsacl.h
[E]
[D]
[R]
📁 nfsd
Open
[D]
[R]
📄 nl80211.h
[E]
[D]
[R]
📄 nubus.h
[E]
[D]
[R]
📄 nvme_ioctl.h
[E]
[D]
[R]
📄 nvram.h
[E]
[D]
[R]
📄 omap3isp.h
[E]
[D]
[R]
📄 omapfb.h
[E]
[D]
[R]
📄 oom.h
[E]
[D]
[R]
📄 openvswitch.h
[E]
[D]
[R]
📄 packet_diag.h
[E]
[D]
[R]
📄 param.h
[E]
[D]
[R]
📄 parport.h
[E]
[D]
[R]
📄 patchkey.h
[E]
[D]
[R]
📄 pci.h
[E]
[D]
[R]
📄 pci_regs.h
[E]
[D]
[R]
📄 perf_event.h
[E]
[D]
[R]
📄 personality.h
[E]
[D]
[R]
📄 pfkeyv2.h
[E]
[D]
[R]
📄 pg.h
[E]
[D]
[R]
📄 phantom.h
[E]
[D]
[R]
📄 phonet.h
[E]
[D]
[R]
📄 pkt_cls.h
[E]
[D]
[R]
📄 pkt_sched.h
[E]
[D]
[R]
📄 pktcdvd.h
[E]
[D]
[R]
📄 pmu.h
[E]
[D]
[R]
📄 poll.h
[E]
[D]
[R]
📄 posix_types.h
[E]
[D]
[R]
📄 ppdev.h
[E]
[D]
[R]
📄 ppp-comp.h
[E]
[D]
[R]
📄 ppp-ioctl.h
[E]
[D]
[R]
📄 ppp_defs.h
[E]
[D]
[R]
📄 pps.h
[E]
[D]
[R]
📄 prctl.h
[E]
[D]
[R]
📄 psample.h
[E]
[D]
[R]
📄 ptp_clock.h
[E]
[D]
[R]
📄 ptrace.h
[E]
[D]
[R]
📄 qnx4_fs.h
[E]
[D]
[R]
📄 qnxtypes.h
[E]
[D]
[R]
📄 quota.h
[E]
[D]
[R]
📄 radeonfb.h
[E]
[D]
[R]
📁 raid
Open
[D]
[R]
📄 random.h
[E]
[D]
[R]
📄 raw.h
[E]
[D]
[R]
📄 rds.h
[E]
[D]
[R]
📄 reboot.h
[E]
[D]
[R]
📄 reiserfs_fs.h
[E]
[D]
[R]
📄 reiserfs_xattr.h
[E]
[D]
[R]
📄 resource.h
[E]
[D]
[R]
📄 rfkill.h
[E]
[D]
[R]
📄 romfs_fs.h
[E]
[D]
[R]
📄 rose.h
[E]
[D]
[R]
📄 route.h
[E]
[D]
[R]
📄 rtc.h
[E]
[D]
[R]
📄 rtnetlink.h
[E]
[D]
[R]
📄 scc.h
[E]
[D]
[R]
📄 sched.h
[E]
[D]
[R]
📄 screen_info.h
[E]
[D]
[R]
📄 sctp.h
[E]
[D]
[R]
📄 sdla.h
[E]
[D]
[R]
📄 seccomp.h
[E]
[D]
[R]
📄 securebits.h
[E]
[D]
[R]
📄 selinux_netlink.h
[E]
[D]
[R]
📄 sem.h
[E]
[D]
[R]
📄 serial.h
[E]
[D]
[R]
📄 serial_core.h
[E]
[D]
[R]
📄 serial_reg.h
[E]
[D]
[R]
📄 serio.h
[E]
[D]
[R]
📄 shm.h
[E]
[D]
[R]
📄 signal.h
[E]
[D]
[R]
📄 signalfd.h
[E]
[D]
[R]
📄 snmp.h
[E]
[D]
[R]
📄 sock_diag.h
[E]
[D]
[R]
📄 socket.h
[E]
[D]
[R]
📄 sockios.h
[E]
[D]
[R]
📄 som.h
[E]
[D]
[R]
📄 sonet.h
[E]
[D]
[R]
📄 sonypi.h
[E]
[D]
[R]
📄 sound.h
[E]
[D]
[R]
📄 soundcard.h
[E]
[D]
[R]
📁 spi
Open
[D]
[R]
📄 stat.h
[E]
[D]
[R]
📄 stddef.h
[E]
[D]
[R]
📄 string.h
[E]
[D]
[R]
📁 sunrpc
Open
[D]
[R]
📄 suspend_ioctls.h
[E]
[D]
[R]
📄 swab.h
[E]
[D]
[R]
📄 synclink.h
[E]
[D]
[R]
📄 sysctl.h
[E]
[D]
[R]
📄 sysinfo.h
[E]
[D]
[R]
📄 target_core_user.h
[E]
[D]
[R]
📄 taskstats.h
[E]
[D]
[R]
📁 tc_act
Open
[D]
[R]
📁 tc_ematch
Open
[D]
[R]
📄 tcp.h
[E]
[D]
[R]
📄 tcp_metrics.h
[E]
[D]
[R]
📄 telephony.h
[E]
[D]
[R]
📄 termios.h
[E]
[D]
[R]
📄 time.h
[E]
[D]
[R]
📄 times.h
[E]
[D]
[R]
📄 timex.h
[E]
[D]
[R]
📄 tiocl.h
[E]
[D]
[R]
📄 tipc.h
[E]
[D]
[R]
📄 tipc_config.h
[E]
[D]
[R]
📄 toshiba.h
[E]
[D]
[R]
📄 tty.h
[E]
[D]
[R]
📄 tty_flags.h
[E]
[D]
[R]
📄 types.h
[E]
[D]
[R]
📄 udf_fs_i.h
[E]
[D]
[R]
📄 udp.h
[E]
[D]
[R]
📄 uhid.h
[E]
[D]
[R]
📄 uinput.h
[E]
[D]
[R]
📄 uio.h
[E]
[D]
[R]
📄 ultrasound.h
[E]
[D]
[R]
📄 un.h
[E]
[D]
[R]
📄 unistd.h
[E]
[D]
[R]
📄 unix_diag.h
[E]
[D]
[R]
📁 usb
Open
[D]
[R]
📄 usbdevice_fs.h
[E]
[D]
[R]
📄 userfaultfd.h
[E]
[D]
[R]
📄 utime.h
[E]
[D]
[R]
📄 utsname.h
[E]
[D]
[R]
📄 uuid.h
[E]
[D]
[R]
📄 uvcvideo.h
[E]
[D]
[R]
📄 v4l2-common.h
[E]
[D]
[R]
📄 v4l2-controls.h
[E]
[D]
[R]
📄 v4l2-dv-timings.h
[E]
[D]
[R]
📄 v4l2-mediabus.h
[E]
[D]
[R]
📄 v4l2-subdev.h
[E]
[D]
[R]
📄 version.h
[E]
[D]
[R]
📄 veth.h
[E]
[D]
[R]
📄 vfio.h
[E]
[D]
[R]
📄 vhost.h
[E]
[D]
[R]
📄 videodev2.h
[E]
[D]
[R]
📄 virtio_9p.h
[E]
[D]
[R]
📄 virtio_balloon.h
[E]
[D]
[R]
📄 virtio_blk.h
[E]
[D]
[R]
📄 virtio_config.h
[E]
[D]
[R]
📄 virtio_console.h
[E]
[D]
[R]
📄 virtio_gpu.h
[E]
[D]
[R]
📄 virtio_ids.h
[E]
[D]
[R]
📄 virtio_input.h
[E]
[D]
[R]
📄 virtio_net.h
[E]
[D]
[R]
📄 virtio_pci.h
[E]
[D]
[R]
📄 virtio_ring.h
[E]
[D]
[R]
📄 virtio_rng.h
[E]
[D]
[R]
📄 virtio_scsi.h
[E]
[D]
[R]
📄 virtio_types.h
[E]
[D]
[R]
📄 virtio_vsock.h
[E]
[D]
[R]
📄 vm_sockets.h
[E]
[D]
[R]
📄 vsockmon.h
[E]
[D]
[R]
📄 vt.h
[E]
[D]
[R]
📄 vtpm_proxy.h
[E]
[D]
[R]
📄 wait.h
[E]
[D]
[R]
📄 wanrouter.h
[E]
[D]
[R]
📄 watchdog.h
[E]
[D]
[R]
📁 wimax
Open
[D]
[R]
📄 wimax.h
[E]
[D]
[R]
📄 wireless.h
[E]
[D]
[R]
📄 wmi.h
[E]
[D]
[R]
📄 x25.h
[E]
[D]
[R]
📄 xattr.h
[E]
[D]
[R]
📄 xfrm.h
[E]
[D]
[R]
Editing: vm_sockets.h
/* * VMware vSockets Driver * * Copyright (C) 2007-2013 VMware, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation version 2 and no later version. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #ifndef _VM_SOCKETS_H #define _VM_SOCKETS_H #include <linux/socket.h> /* Option name for STREAM socket buffer size. Use as the option name in * setsockopt(3) or getsockopt(3) to set or get an unsigned long long that * specifies the size of the buffer underlying a vSockets STREAM socket. * Value is clamped to the MIN and MAX. */ #define SO_VM_SOCKETS_BUFFER_SIZE 0 /* Option name for STREAM socket minimum buffer size. Use as the option name * in setsockopt(3) or getsockopt(3) to set or get an unsigned long long that * specifies the minimum size allowed for the buffer underlying a vSockets * STREAM socket. */ #define SO_VM_SOCKETS_BUFFER_MIN_SIZE 1 /* Option name for STREAM socket maximum buffer size. Use as the option name * in setsockopt(3) or getsockopt(3) to set or get an unsigned long long * that specifies the maximum size allowed for the buffer underlying a * vSockets STREAM socket. */ #define SO_VM_SOCKETS_BUFFER_MAX_SIZE 2 /* Option name for socket peer's host-specific VM ID. Use as the option name * in getsockopt(3) to get a host-specific identifier for the peer endpoint's * VM. The identifier is a signed integer. * Only available for hypervisor endpoints. */ #define SO_VM_SOCKETS_PEER_HOST_VM_ID 3 /* Option name for determining if a socket is trusted. Use as the option name * in getsockopt(3) to determine if a socket is trusted. The value is a * signed integer. */ #define SO_VM_SOCKETS_TRUSTED 5 /* Option name for STREAM socket connection timeout. Use as the option name * in setsockopt(3) or getsockopt(3) to set or get the connection * timeout for a STREAM socket. */ #define SO_VM_SOCKETS_CONNECT_TIMEOUT 6 /* Option name for using non-blocking send/receive. Use as the option name * for setsockopt(3) or getsockopt(3) to set or get the non-blocking * transmit/receive flag for a STREAM socket. This flag determines whether * send() and recv() can be called in non-blocking contexts for the given * socket. The value is a signed integer. * * This option is only relevant to kernel endpoints, where descheduling the * thread of execution is not allowed, for example, while holding a spinlock. * It is not to be confused with conventional non-blocking socket operations. * * Only available for hypervisor endpoints. */ #define SO_VM_SOCKETS_NONBLOCK_TXRX 7 /* The vSocket equivalent of INADDR_ANY. This works for the svm_cid field of * sockaddr_vm and indicates the context ID of the current endpoint. */ #define VMADDR_CID_ANY -1U /* Bind to any available port. Works for the svm_port field of * sockaddr_vm. */ #define VMADDR_PORT_ANY -1U /* Use this as the destination CID in an address when referring to the * hypervisor. VMCI relies on it being 0, but this would be useful for other * transports too. */ #define VMADDR_CID_HYPERVISOR 0 /* This CID is specific to VMCI and can be considered reserved (even VMCI * doesn't use it anymore, it's a legacy value from an older release). */ #define VMADDR_CID_RESERVED 1 /* Use this as the destination CID in an address when referring to the host * (any process other than the hypervisor). VMCI relies on it being 2, but * this would be useful for other transports too. */ #define VMADDR_CID_HOST 2 /* Invalid vSockets version. */ #define VM_SOCKETS_INVALID_VERSION -1U /* The epoch (first) component of the vSockets version. A single byte * representing the epoch component of the vSockets version. */ #define VM_SOCKETS_VERSION_EPOCH(_v) (((_v) & 0xFF000000) >> 24) /* The major (second) component of the vSockets version. A single byte * representing the major component of the vSockets version. Typically * changes for every major release of a product. */ #define VM_SOCKETS_VERSION_MAJOR(_v) (((_v) & 0x00FF0000) >> 16) /* The minor (third) component of the vSockets version. Two bytes representing * the minor component of the vSockets version. */ #define VM_SOCKETS_VERSION_MINOR(_v) (((_v) & 0x0000FFFF)) /* Address structure for vSockets. The address family should be set to * AF_VSOCK. The structure members should all align on their natural * boundaries without resorting to compiler packing directives. The total size * of this structure should be exactly the same as that of struct sockaddr. */ struct sockaddr_vm { __kernel_sa_family_t svm_family; unsigned short svm_reserved1; unsigned int svm_port; unsigned int svm_cid; unsigned char svm_zero[sizeof(struct sockaddr) - sizeof(sa_family_t) - sizeof(unsigned short) - sizeof(unsigned int) - sizeof(unsigned int)]; }; #define IOCTL_VM_SOCKETS_GET_LOCAL_CID _IO(7, 0xb9) #endif /* _VM_SOCKETS_H */
Save