Searched refs:sa (Results 1 – 12 of 12) sorted by relevance
/include/net/phonet/ |
D | phonet.h | 51 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa); 81 void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_src_sockaddr() argument 86 sa->spn_family = AF_PHONET; in pn_skb_get_src_sockaddr() 87 pn_sockaddr_set_object(sa, obj); in pn_skb_get_src_sockaddr() 88 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_src_sockaddr() 89 memset(sa->spn_zero, 0, sizeof(sa->spn_zero)); in pn_skb_get_src_sockaddr() 93 void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) in pn_skb_get_dst_sockaddr() argument 98 sa->spn_family = AF_PHONET; in pn_skb_get_dst_sockaddr() 99 pn_sockaddr_set_object(sa, obj); in pn_skb_get_dst_sockaddr() 100 pn_sockaddr_set_resource(sa, ph->pn_res); in pn_skb_get_dst_sockaddr() [all …]
|
/include/linux/sunrpc/ |
D | svc_xprt.h | 137 const struct sockaddr *sa, in svc_xprt_set_local() argument 140 memcpy(&xprt->xpt_local, sa, salen); in svc_xprt_set_local() 144 const struct sockaddr *sa, in svc_xprt_set_remote() argument 147 memcpy(&xprt->xpt_remote, sa, salen); in svc_xprt_set_remote() 150 static inline unsigned short svc_addr_port(const struct sockaddr *sa) in svc_addr_port() argument 152 const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; in svc_addr_port() 153 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port() 155 switch (sa->sa_family) { in svc_addr_port() 165 static inline size_t svc_addr_len(const struct sockaddr *sa) in svc_addr_len() argument 167 switch (sa->sa_family) { in svc_addr_len()
|
D | addr.h | 162 static inline u32 rpc_get_scope_id(const struct sockaddr *sa) in rpc_get_scope_id() argument 164 if (sa->sa_family != AF_INET6) in rpc_get_scope_id() 167 return ((struct sockaddr_in6 *) sa)->sin6_scope_id; in rpc_get_scope_id()
|
/include/net/ |
D | ieee802154_netdev.h | 188 const struct ieee802154_addr_sa *sa) in ieee802154_addr_from_sa() argument 190 a->mode = sa->addr_type; in ieee802154_addr_from_sa() 191 a->pan_id = cpu_to_le16(sa->pan_id); in ieee802154_addr_from_sa() 195 a->short_addr = cpu_to_le16(sa->short_addr); in ieee802154_addr_from_sa() 198 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa() 203 static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa, in ieee802154_addr_to_sa() argument 206 sa->addr_type = a->mode; in ieee802154_addr_to_sa() 207 sa->pan_id = le16_to_cpu(a->pan_id); in ieee802154_addr_to_sa() 211 sa->short_addr = le16_to_cpu(a->short_addr); in ieee802154_addr_to_sa() 214 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
|
D | llc.h | 100 int llc_mac_hdr_init(struct sk_buff *skb, const unsigned char *sa,
|
D | llc_pdu.h | 251 static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) in llc_pdu_decode_sa() argument 254 memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN); in llc_pdu_decode_sa()
|
/include/linux/ |
D | atalk.h | 121 extern struct net_device *atrtr_get_dev(struct atalk_addr *sa); 124 struct atalk_addr *sa, void *hwaddr); 128 struct atalk_addr *sa); 130 struct atalk_addr *sa);
|
D | signal.h | 259 struct sigaction sa; member 420 (((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \ 421 ((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN)) 425 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
|
D | ieee80211.h | 860 u8 sa[ETH_ALEN]; member 1080 u8 sa[ETH_ALEN]; member
|
D | sched.h | 2522 if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp)) in sigsp()
|
/include/trace/events/ |
D | signal.h | 113 __entry->sa_handler = (unsigned long)ka->sa.sa_handler; 114 __entry->sa_flags = ka->sa.sa_flags;
|
/include/net/sctp/ |
D | structs.h | 68 struct sockaddr sa; member
|