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: in6.h
/* * Types and definitions for AF_INET6 * Linux INET6 implementation * * Authors: * Pedro Roque <roque@di.fc.ul.pt> * * Sources: * IPv6 Program Interfaces for BSD Systems * <draft-ietf-ipngwg-bsd-api-05.txt> * * Advanced Sockets API for IPv6 * <draft-stevens-advanced-api-00.txt> * * 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; either version * 2 of the License, or (at your option) any later version. */ #ifndef _LINUX_IN6_H #define _LINUX_IN6_H #include <linux/types.h> #include <linux/libc-compat.h> /* * IPv6 address structure */ #if __UAPI_DEF_IN6_ADDR struct in6_addr { union { __u8 u6_addr8[16]; #if __UAPI_DEF_IN6_ADDR_ALT __be16 u6_addr16[8]; __be32 u6_addr32[4]; #endif } in6_u; #define s6_addr in6_u.u6_addr8 #if __UAPI_DEF_IN6_ADDR_ALT #define s6_addr16 in6_u.u6_addr16 #define s6_addr32 in6_u.u6_addr32 #endif }; #endif /* __UAPI_DEF_IN6_ADDR */ #if __UAPI_DEF_SOCKADDR_IN6 struct sockaddr_in6 { unsigned short int sin6_family; /* AF_INET6 */ __be16 sin6_port; /* Transport layer port # */ __be32 sin6_flowinfo; /* IPv6 flow information */ struct in6_addr sin6_addr; /* IPv6 address */ __u32 sin6_scope_id; /* scope id (new in RFC2553) */ }; #endif /* __UAPI_DEF_SOCKADDR_IN6 */ #if __UAPI_DEF_IPV6_MREQ struct ipv6_mreq { /* IPv6 multicast address of group */ struct in6_addr ipv6mr_multiaddr; /* local IPv6 address of interface */ int ipv6mr_ifindex; }; #endif /* __UAPI_DEF_IVP6_MREQ */ #define ipv6mr_acaddr ipv6mr_multiaddr struct in6_flowlabel_req { struct in6_addr flr_dst; __be32 flr_label; __u8 flr_action; __u8 flr_share; __u16 flr_flags; __u16 flr_expires; __u16 flr_linger; __u32 __flr_pad; /* Options in format of IPV6_PKTOPTIONS */ }; #define IPV6_FL_A_GET 0 #define IPV6_FL_A_PUT 1 #define IPV6_FL_A_RENEW 2 #define IPV6_FL_F_CREATE 1 #define IPV6_FL_F_EXCL 2 #define IPV6_FL_S_NONE 0 #define IPV6_FL_S_EXCL 1 #define IPV6_FL_S_PROCESS 2 #define IPV6_FL_S_USER 3 #define IPV6_FL_S_ANY 255 /* * Bitmask constant declarations to help applications select out the * flow label and priority fields. * * Note that this are in host byte order while the flowinfo field of * sockaddr_in6 is in network byte order. */ #define IPV6_FLOWINFO_FLOWLABEL 0x000fffff #define IPV6_FLOWINFO_PRIORITY 0x0ff00000 /* These definitions are obsolete */ #define IPV6_PRIORITY_UNCHARACTERIZED 0x0000 #define IPV6_PRIORITY_FILLER 0x0100 #define IPV6_PRIORITY_UNATTENDED 0x0200 #define IPV6_PRIORITY_RESERVED1 0x0300 #define IPV6_PRIORITY_BULK 0x0400 #define IPV6_PRIORITY_RESERVED2 0x0500 #define IPV6_PRIORITY_INTERACTIVE 0x0600 #define IPV6_PRIORITY_CONTROL 0x0700 #define IPV6_PRIORITY_8 0x0800 #define IPV6_PRIORITY_9 0x0900 #define IPV6_PRIORITY_10 0x0a00 #define IPV6_PRIORITY_11 0x0b00 #define IPV6_PRIORITY_12 0x0c00 #define IPV6_PRIORITY_13 0x0d00 #define IPV6_PRIORITY_14 0x0e00 #define IPV6_PRIORITY_15 0x0f00 /* * IPV6 extension headers */ #if __UAPI_DEF_IPPROTO_V6 #define IPPROTO_HOPOPTS 0 /* IPv6 hop-by-hop options */ #define IPPROTO_ROUTING 43 /* IPv6 routing header */ #define IPPROTO_FRAGMENT 44 /* IPv6 fragmentation header */ #define IPPROTO_ICMPV6 58 /* ICMPv6 */ #define IPPROTO_NONE 59 /* IPv6 no next header */ #define IPPROTO_DSTOPTS 60 /* IPv6 destination options */ #define IPPROTO_MH 135 /* IPv6 mobility header */ #endif /* __UAPI_DEF_IPPROTO_V6 */ /* * IPv6 TLV options. */ #define IPV6_TLV_PAD1 0 #define IPV6_TLV_PADN 1 #define IPV6_TLV_ROUTERALERT 5 #define IPV6_TLV_JUMBO 194 #define IPV6_TLV_HAO 201 /* home address option */ /* * IPV6 socket options */ #define IPV6_ADDRFORM 1 #define IPV6_2292PKTINFO 2 #define IPV6_2292HOPOPTS 3 #define IPV6_2292DSTOPTS 4 #define IPV6_2292RTHDR 5 #define IPV6_2292PKTOPTIONS 6 #define IPV6_CHECKSUM 7 #define IPV6_2292HOPLIMIT 8 #define IPV6_NEXTHOP 9 #define IPV6_AUTHHDR 10 /* obsolete */ #define IPV6_FLOWINFO 11 #define IPV6_UNICAST_HOPS 16 #define IPV6_MULTICAST_IF 17 #define IPV6_MULTICAST_HOPS 18 #define IPV6_MULTICAST_LOOP 19 #define IPV6_ADD_MEMBERSHIP 20 #define IPV6_DROP_MEMBERSHIP 21 #define IPV6_ROUTER_ALERT 22 #define IPV6_MTU_DISCOVER 23 #define IPV6_MTU 24 #define IPV6_RECVERR 25 #define IPV6_V6ONLY 26 #define IPV6_JOIN_ANYCAST 27 #define IPV6_LEAVE_ANYCAST 28 /* IPV6_MTU_DISCOVER values */ #define IPV6_PMTUDISC_DONT 0 #define IPV6_PMTUDISC_WANT 1 #define IPV6_PMTUDISC_DO 2 #define IPV6_PMTUDISC_PROBE 3 /* same as IPV6_PMTUDISC_PROBE, provided for symetry with IPv4 * also see comments on IP_PMTUDISC_INTERFACE */ #define IPV6_PMTUDISC_INTERFACE 4 /* weaker version of IPV6_PMTUDISC_INTERFACE, which allows packets to * get fragmented if they exceed the interface mtu */ #define IPV6_PMTUDISC_OMIT 5 /* Flowlabel */ #define IPV6_FLOWLABEL_MGR 32 #define IPV6_FLOWINFO_SEND 33 #define IPV6_IPSEC_POLICY 34 #define IPV6_XFRM_POLICY 35 /* * Multicast: * Following socket options are shared between IPv4 and IPv6. * * MCAST_JOIN_GROUP 42 * MCAST_BLOCK_SOURCE 43 * MCAST_UNBLOCK_SOURCE 44 * MCAST_LEAVE_GROUP 45 * MCAST_JOIN_SOURCE_GROUP 46 * MCAST_LEAVE_SOURCE_GROUP 47 * MCAST_MSFILTER 48 */ /* * Advanced API (RFC3542) (1) * * Note: IPV6_RECVRTHDRDSTOPTS does not exist. see net/ipv6/datagram.c. */ #define IPV6_RECVPKTINFO 49 #define IPV6_PKTINFO 50 #define IPV6_RECVHOPLIMIT 51 #define IPV6_HOPLIMIT 52 #define IPV6_RECVHOPOPTS 53 #define IPV6_HOPOPTS 54 #define IPV6_RTHDRDSTOPTS 55 #define IPV6_RECVRTHDR 56 #define IPV6_RTHDR 57 #define IPV6_RECVDSTOPTS 58 #define IPV6_DSTOPTS 59 #define IPV6_RECVPATHMTU 60 #define IPV6_PATHMTU 61 #define IPV6_DONTFRAG 62 #if 0 /* not yet */ #define IPV6_USE_MIN_MTU 63 #endif /* * Netfilter (1) * * Following socket options are used in ip6_tables; * see include/linux/netfilter_ipv6/ip6_tables.h. * * IP6T_SO_SET_REPLACE / IP6T_SO_GET_INFO 64 * IP6T_SO_SET_ADD_COUNTERS / IP6T_SO_GET_ENTRIES 65 */ /* * Advanced API (RFC3542) (2) */ #define IPV6_RECVTCLASS 66 #define IPV6_TCLASS 67 /* * Netfilter (2) * * Following socket options are used in ip6_tables; * see include/linux/netfilter_ipv6/ip6_tables.h. * * IP6T_SO_GET_REVISION_MATCH 68 * IP6T_SO_GET_REVISION_TARGET 69 * IP6T_SO_ORIGINAL_DST 80 */ /* RFC5014: Source address selection */ #define IPV6_ADDR_PREFERENCES 72 #define IPV6_PREFER_SRC_TMP 0x0001 #define IPV6_PREFER_SRC_PUBLIC 0x0002 #define IPV6_PREFER_SRC_PUBTMP_DEFAULT 0x0100 #define IPV6_PREFER_SRC_COA 0x0004 #define IPV6_PREFER_SRC_HOME 0x0400 #define IPV6_PREFER_SRC_CGA 0x0008 #define IPV6_PREFER_SRC_NONCGA 0x0800 /* RFC5082: Generalized Ttl Security Mechanism */ #define IPV6_MINHOPCOUNT 73 #define IPV6_ORIGDSTADDR 74 #define IPV6_RECVORIGDSTADDR IPV6_ORIGDSTADDR #define IPV6_TRANSPARENT 75 #define IPV6_UNICAST_IF 76 /* * Multicast Routing: * see include/uapi/linux/mroute6.h. * * MRT6_BASE 200 * ... * MRT6_MAX */ #endif /* _LINUX_IN6_H */
Save