/********************************************************************* * * Filename: af_irda.h * Version: 1.0 * Description: IrDA sockets declarations * Status: Stable * Author: Dag Brattli * Created at: Tue Dec 9 21:13:12 1997 * Modified at: Fri Jan 28 13:16:32 2000 * Modified by: Dag Brattli * * Copyright (c) 1998-2000 Dag Brattli, All Rights Reserved. * Copyright (c) 2000-2002 Jean Tourrilhes * * 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 AF_IRDA_H #define AF_IRDA_H #include #include #include /* struct iriap_cb */ #include /* struct ias_value */ #include /* struct lsap_cb */ #include /* struct tsap_cb */ #include /* struct discovery_t */ #include /* IrDA Socket */ struct irda_sock { /* struct sock has to be the first member of irda_sock */ struct sock sk; __u32 saddr; /* my local address */ __u32 daddr; /* peer address */ struct lsap_cb *lsap; /* LSAP used by Ultra */ __u8 pid; /* Protocol IP (PID) used by Ultra */ struct tsap_cb *tsap; /* TSAP used by this connection */ __u8 dtsap_sel; /* remote TSAP address */ __u8 stsap_sel; /* local TSAP address */ __u32 max_sdu_size_rx; __u32 max_sdu_size_tx; __u32 max_data_size; __u8 max_header_size; struct qos_info qos_tx; __u16_host_order mask; /* Hint bits mask */ __u16_host_order hints; /* Hint bits */ void *ckey; /* IrLMP client handle */ void *skey; /* IrLMP service handle */ struct ias_object *ias_obj; /* Our service name + lsap in IAS */ struct iriap_cb *iriap; /* Used to query remote IAS */ struct ias_value *ias_result; /* Result of remote IAS query */ hashbin_t *cachelog; /* Result of discovery query */ __u32 cachedaddr; /* Result of selective discovery query */ int nslots; /* Number of slots to use for discovery */ int errno; /* status of the IAS query */ wait_queue_head_t query_wait; /* Wait for the answer to a query */ struct timer_list watchdog; /* Timeout for discovery */ LOCAL_FLOW tx_flow; LOCAL_FLOW rx_flow; }; static inline struct irda_sock *irda_sk(struct sock *sk) { return (struct irda_sock *)sk; } #endif /* AF_IRDA_H */ et
AgeCommit message (Expand)AuthorFilesLines
2017-02-07bridge: remove unnecessary check for vtbegin in br_fill_vlan_tinfo_rangeRoopa Prabhu1-1/+1
2017-02-07bridge: tunnel: fix attribute checks in br_parse_vlan_tunnel_infoNikolay Aleksandrov1-4/+4
2017-02-07net: bridge: remove redundant check to see if err is setColin Ian King1-3/+0
2017-02-07net: dsa: Do not clobber PHY link outside of state machineFlorian Fainelli1-7/+3
2017-02-07net: pending_confirm is not used anymoreJulian Anastasov1-1/+0
2017-02-07net: use dst_confirm_neigh for UDP, RAW, ICMP, L2TPJulian Anastasov9-19/+44
2017-02-07net: add confirm_neigh method to dst_opsJulian Anastasov3-0/+54
2017-02-07tcp: replace dst_confirm with sk_dst_confirmJulian Anastasov3-14/+7
2017-02-07sctp: add dst_pending_confirm flagJulian Anastasov7-12/+31
2017-02-07net: add dst_pending_confirm flag to skbuffJulian Anastasov2-1/+5
2017-02-07sock: add sk_dst_pending_confirm flagJulian Anastasov1-0/+2
2017-02-07ipv6: sr: fix non static symbol warningsWei Yongjun1-4/+4
2017-02-07net/sched: act_mirred: remove duplicated include from act_mirred.cWei Yongjun1-2/+0
2017-02-07net: dsa: Add support for platform dataFlorian Fainelli1-18/+84
2017-02-07net: dsa: Rename and export dev_to_net_device()Florian Fainelli1-2/+3
2017-02-06bridge: fdb: write to used and updated at most once per jiffyNikolay Aleksandrov2-2/+4
2017-02-06bridge: move write-heavy fdb members in their own cache lineNikolay Aleksandrov1-4/+6
2017-02-06bridge: move to workqueue gcNikolay Aleksandrov10-23/+29
2017-02-06bridge: modify bridge and port to have often accessed fields in one cache lineNikolay Aleksandrov1-23/+20
2017-02-06net: dsa: introduce bridge notifierVivien Didelot2-11/+61
2017-02-06net: dsa: add switch notifierVivien Didelot5-0/+70
2017-02-06net: dsa: change state setter scopeVivien Didelot1-6/+9
2017-02-06net: dsa: rollback bridging on errorVivien Didelot1-1/+13
2017-02-06net: dsa: simplify netdevice events handlingVivien Didelot1-28/+16
2017-02-06net: dsa: move netdevice notifier registrationVivien Didelot3-10/+26
2017-02-06net-next: treewide use is_vlan_dev() helper function.Parav Pandit1-1/+2
2017-02-06sctp: process fwd tsn chunk only when prsctp is enabledXin Long1-0/+6
2017-02-06net: remove ndo_neigh_{construct, destroy} from stacked devicesIdo Schimmel