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: irda.h
/********************************************************************* * * Filename: irda.h * Version: * Description: * Status: Experimental. * Author: Dag Brattli <dagb@cs.uit.no> * Created at: Mon Mar 8 14:06:12 1999 * Modified at: Sat Dec 25 16:06:42 1999 * Modified by: Dag Brattli <dagb@cs.uit.no> * * Copyright (c) 1999 Dag Brattli, 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; either version 2 of * the License, or (at your option) any later version. * * Neither Dag Brattli nor University of TromsΓΈ admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. * ********************************************************************/ #ifndef KERNEL_IRDA_H #define KERNEL_IRDA_H #include <linux/types.h> #include <linux/socket.h> /* Note that this file is shared with user space. */ /* Hint bit positions for first hint byte */ #define HINT_PNP 0x01 #define HINT_PDA 0x02 #define HINT_COMPUTER 0x04 #define HINT_PRINTER 0x08 #define HINT_MODEM 0x10 #define HINT_FAX 0x20 #define HINT_LAN 0x40 #define HINT_EXTENSION 0x80 /* Hint bit positions for second hint byte (first extension byte) */ #define HINT_TELEPHONY 0x01 #define HINT_FILE_SERVER 0x02 #define HINT_COMM 0x04 #define HINT_MESSAGE 0x08 #define HINT_HTTP 0x10 #define HINT_OBEX 0x20 /* IrLMP character code values */ #define CS_ASCII 0x00 #define CS_ISO_8859_1 0x01 #define CS_ISO_8859_2 0x02 #define CS_ISO_8859_3 0x03 #define CS_ISO_8859_4 0x04 #define CS_ISO_8859_5 0x05 #define CS_ISO_8859_6 0x06 #define CS_ISO_8859_7 0x07 #define CS_ISO_8859_8 0x08 #define CS_ISO_8859_9 0x09 #define CS_UNICODE 0xff /* These are the currently known dongles */ typedef enum { IRDA_TEKRAM_DONGLE = 0, IRDA_ESI_DONGLE = 1, IRDA_ACTISYS_DONGLE = 2, IRDA_ACTISYS_PLUS_DONGLE = 3, IRDA_GIRBIL_DONGLE = 4, IRDA_LITELINK_DONGLE = 5, IRDA_AIRPORT_DONGLE = 6, IRDA_OLD_BELKIN_DONGLE = 7, IRDA_EP7211_IR = 8, IRDA_MCP2120_DONGLE = 9, IRDA_ACT200L_DONGLE = 10, IRDA_MA600_DONGLE = 11, IRDA_TOIM3232_DONGLE = 12, IRDA_EP7211_DONGLE = 13, } IRDA_DONGLE; /* Protocol types to be used for SOCK_DGRAM */ enum { IRDAPROTO_UNITDATA = 0, IRDAPROTO_ULTRA = 1, IRDAPROTO_MAX }; #define SOL_IRLMP 266 /* Same as SOL_IRDA for now */ #define SOL_IRTTP 266 /* Same as SOL_IRDA for now */ #define IRLMP_ENUMDEVICES 1 /* Return discovery log */ #define IRLMP_IAS_SET 2 /* Set an attribute in local IAS */ #define IRLMP_IAS_QUERY 3 /* Query remote IAS for attribute */ #define IRLMP_HINTS_SET 4 /* Set hint bits advertised */ #define IRLMP_QOS_SET 5 #define IRLMP_QOS_GET 6 #define IRLMP_MAX_SDU_SIZE 7 #define IRLMP_IAS_GET 8 /* Get an attribute from local IAS */ #define IRLMP_IAS_DEL 9 /* Remove attribute from local IAS */ #define IRLMP_HINT_MASK_SET 10 /* Set discovery filter */ #define IRLMP_WAITDEVICE 11 /* Wait for a new discovery */ #define IRTTP_MAX_SDU_SIZE IRLMP_MAX_SDU_SIZE /* Compatibility */ #define IAS_MAX_STRING 256 /* See IrLMP 1.1, 4.3.3.2 */ #define IAS_MAX_OCTET_STRING 1024 /* See IrLMP 1.1, 4.3.3.2 */ #define IAS_MAX_CLASSNAME 60 /* See IrLMP 1.1, 4.3.1 */ #define IAS_MAX_ATTRIBNAME 60 /* See IrLMP 1.1, 4.3.3.1 */ #define IAS_MAX_ATTRIBNUMBER 256 /* See IrLMP 1.1, 4.3.3.1 */ /* For user space backward compatibility - may be fixed in kernel 2.5.X * Note : need 60+1 ('\0'), make it 64 for alignement - Jean II */ #define IAS_EXPORT_CLASSNAME 64 #define IAS_EXPORT_ATTRIBNAME 256 /* Attribute type needed for struct irda_ias_set */ #define IAS_MISSING 0 #define IAS_INTEGER 1 #define IAS_OCT_SEQ 2 #define IAS_STRING 3 #define LSAP_ANY 0xff struct sockaddr_irda { __kernel_sa_family_t sir_family; /* AF_IRDA */ __u8 sir_lsap_sel; /* LSAP selector */ __u32 sir_addr; /* Device address */ char sir_name[25]; /* Usually <service>:IrDA:TinyTP */ }; struct irda_device_info { __u32 saddr; /* Address of local interface */ __u32 daddr; /* Address of remote device */ char info[22]; /* Description */ __u8 charset; /* Charset used for description */ __u8 hints[2]; /* Hint bits */ }; struct irda_device_list { __u32 len; struct irda_device_info dev[1]; }; struct irda_ias_set { char irda_class_name[IAS_EXPORT_CLASSNAME]; char irda_attrib_name[IAS_EXPORT_ATTRIBNAME]; unsigned int irda_attrib_type; union { unsigned int irda_attrib_int; struct { unsigned short len; __u8 octet_seq[IAS_MAX_OCTET_STRING]; } irda_attrib_octet_seq; struct { __u8 len; __u8 charset; __u8 string[IAS_MAX_STRING]; } irda_attrib_string; } attribute; __u32 daddr; /* Address of device (for some queries only) */ }; /* Some private IOCTL's (max 16) */ #define SIOCSDONGLE (SIOCDEVPRIVATE + 0) #define SIOCGDONGLE (SIOCDEVPRIVATE + 1) #define SIOCSBANDWIDTH (SIOCDEVPRIVATE + 2) #define SIOCSMEDIABUSY (SIOCDEVPRIVATE + 3) #define SIOCGMEDIABUSY (SIOCDEVPRIVATE + 4) #define SIOCGRECEIVING (SIOCDEVPRIVATE + 5) #define SIOCSMODE (SIOCDEVPRIVATE + 6) #define SIOCGMODE (SIOCDEVPRIVATE + 7) #define SIOCSDTRRTS (SIOCDEVPRIVATE + 8) #define SIOCGQOS (SIOCDEVPRIVATE + 9) /* No reason to include <linux/if.h> just because of this one ;-) */ #define IRNAMSIZ 16 /* IrDA quality of service information (must not exceed 16 bytes) */ struct if_irda_qos { unsigned long baudrate; unsigned short data_size; unsigned short window_size; unsigned short min_turn_time; unsigned short max_turn_time; unsigned char add_bofs; unsigned char link_disc; }; /* For setting RTS and DTR lines of a dongle */ struct if_irda_line { __u8 dtr; __u8 rts; }; /* IrDA interface configuration (data part must not exceed 16 bytes) */ struct if_irda_req { union { char ifrn_name[IRNAMSIZ]; /* if name, e.g. "irda0" */ } ifr_ifrn; /* Data part */ union { struct if_irda_line ifru_line; struct if_irda_qos ifru_qos; unsigned short ifru_flags; unsigned int ifru_receiving; unsigned int ifru_mode; unsigned int ifru_dongle; } ifr_ifru; }; #define ifr_baudrate ifr_ifru.ifru_qos.baudrate #define ifr_receiving ifr_ifru.ifru_receiving #define ifr_dongle ifr_ifru.ifru_dongle #define ifr_mode ifr_ifru.ifru_mode #define ifr_dtr ifr_ifru.ifru_line.dtr #define ifr_rts ifr_ifru.ifru_line.rts /* IrDA netlink definitions */ #define IRDA_NL_NAME "irda" #define IRDA_NL_VERSION 1 enum irda_nl_commands { IRDA_NL_CMD_UNSPEC, IRDA_NL_CMD_SET_MODE, IRDA_NL_CMD_GET_MODE, __IRDA_NL_CMD_AFTER_LAST }; #define IRDA_NL_CMD_MAX (__IRDA_NL_CMD_AFTER_LAST - 1) enum nl80211_attrs { IRDA_NL_ATTR_UNSPEC, IRDA_NL_ATTR_IFNAME, IRDA_NL_ATTR_MODE, __IRDA_NL_ATTR_AFTER_LAST }; #define IRDA_NL_ATTR_MAX (__IRDA_NL_ATTR_AFTER_LAST - 1) /* IrDA modes */ #define IRDA_MODE_PRIMARY 0x1 #define IRDA_MODE_SECONDARY 0x2 #define IRDA_MODE_MONITOR 0x4 #endif /* KERNEL_IRDA_H */
Save