Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 14 of 14) sorted by relevance

/include/net/phonet/
Dphonet.h51 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/
Dsvc_xprt.h141 const struct sockaddr *sa, in svc_xprt_set_local() argument
144 memcpy(&xprt->xpt_local, sa, salen); in svc_xprt_set_local()
148 const struct sockaddr *sa, in svc_xprt_set_remote() argument
151 memcpy(&xprt->xpt_remote, sa, salen); in svc_xprt_set_remote()
154 static inline unsigned short svc_addr_port(const struct sockaddr *sa) in svc_addr_port() argument
156 const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; in svc_addr_port()
157 const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; in svc_addr_port()
159 switch (sa->sa_family) { in svc_addr_port()
169 static inline size_t svc_addr_len(const struct sockaddr *sa) in svc_addr_len() argument
171 switch (sa->sa_family) { in svc_addr_len()
Daddr.h175 static inline u32 rpc_get_scope_id(const struct sockaddr *sa) in rpc_get_scope_id() argument
177 if (sa->sa_family != AF_INET6) in rpc_get_scope_id()
180 return ((struct sockaddr_in6 *) sa)->sin6_scope_id; in rpc_get_scope_id()
/include/net/
Dieee802154_netdev.h177 const struct ieee802154_addr_sa *sa) in ieee802154_addr_from_sa() argument
179 a->mode = sa->addr_type; in ieee802154_addr_from_sa()
180 a->pan_id = cpu_to_le16(sa->pan_id); in ieee802154_addr_from_sa()
184 a->short_addr = cpu_to_le16(sa->short_addr); in ieee802154_addr_from_sa()
187 a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); in ieee802154_addr_from_sa()
192 static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa, in ieee802154_addr_to_sa() argument
195 sa->addr_type = a->mode; in ieee802154_addr_to_sa()
196 sa->pan_id = le16_to_cpu(a->pan_id); in ieee802154_addr_to_sa()
200 sa->short_addr = le16_to_cpu(a->short_addr); in ieee802154_addr_to_sa()
203 ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); in ieee802154_addr_to_sa()
Dllc.h100 int llc_mac_hdr_init(struct sk_buff *skb, const unsigned char *sa,
Dllc_pdu.h251 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()
Dvxlan.h193 struct sockaddr sa; member
/include/linux/
Datalk.h121 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);
Dsignal.h273 struct sigaction sa; member
432 (((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_DFL) && \
433 ((t)->sighand->action[(signr)-1].sa.sa_handler != SIG_IGN))
437 (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL)
Dieee80211.h886 u8 sa[ETH_ALEN]; member
1136 u8 sa[ETH_ALEN]; member
Dsched.h3034 if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp)) in sigsp()
/include/trace/events/
Dsignal.h113 __entry->sa_handler = (unsigned long)ka->sa.sa_handler;
114 __entry->sa_flags = ka->sa.sa_flags;
/include/scsi/
Dscsi_dbg.h33 scsi_opcode_sa_name(int cmd, int sa, in scsi_opcode_sa_name() argument
/include/net/sctp/
Dstructs.h70 struct sockaddr sa; member