Home
last modified time | relevance | path

Searched refs:sap (Results 1 – 15 of 15) sorted by relevance

/include/net/
Dllc_s_ac.h30 typedef int (*llc_sap_action_t)(struct llc_sap *sap, struct sk_buff *skb);
32 int llc_sap_action_unitdata_ind(struct llc_sap *sap, struct sk_buff *skb);
33 int llc_sap_action_send_ui(struct llc_sap *sap, struct sk_buff *skb);
34 int llc_sap_action_send_xid_c(struct llc_sap *sap, struct sk_buff *skb);
35 int llc_sap_action_send_xid_r(struct llc_sap *sap, struct sk_buff *skb);
36 int llc_sap_action_send_test_c(struct llc_sap *sap, struct sk_buff *skb);
37 int llc_sap_action_send_test_r(struct llc_sap *sap, struct sk_buff *skb);
38 int llc_sap_action_report_status(struct llc_sap *sap, struct sk_buff *skb);
39 int llc_sap_action_xid_ind(struct llc_sap *sap, struct sk_buff *skb);
40 int llc_sap_action_test_ind(struct llc_sap *sap, struct sk_buff *skb);
Dllc.h73 struct hlist_head *llc_sk_dev_hash(struct llc_sap *sap, int ifindex) in llc_sk_dev_hash() argument
77 return &sap->sk_dev_hash[bucket]; in llc_sk_dev_hash()
81 u32 llc_sk_laddr_hashfn(struct llc_sap *sap, const struct llc_addr *laddr) in llc_sk_laddr_hashfn() argument
88 struct hlist_nulls_head *llc_sk_laddr_hash(struct llc_sap *sap, in llc_sk_laddr_hash() argument
91 return &sap->sk_laddr_hash[llc_sk_laddr_hashfn(sap, laddr)]; in llc_sk_laddr_hash()
107 void (*handler)(struct llc_sap *sap, struct sk_buff *skb));
117 static inline void llc_sap_hold(struct llc_sap *sap) in llc_sap_hold() argument
119 refcount_inc(&sap->refcnt); in llc_sap_hold()
122 static inline bool llc_sap_hold_safe(struct llc_sap *sap) in llc_sap_hold_safe() argument
124 return refcount_inc_not_zero(&sap->refcnt); in llc_sap_hold_safe()
[all …]
Dllc_s_ev.h55 typedef int (*llc_sap_ev_t)(struct llc_sap *sap, struct sk_buff *skb);
57 int llc_sap_ev_activation_req(struct llc_sap *sap, struct sk_buff *skb);
58 int llc_sap_ev_rx_ui(struct llc_sap *sap, struct sk_buff *skb);
59 int llc_sap_ev_unitdata_req(struct llc_sap *sap, struct sk_buff *skb);
60 int llc_sap_ev_xid_req(struct llc_sap *sap, struct sk_buff *skb);
61 int llc_sap_ev_rx_xid_c(struct llc_sap *sap, struct sk_buff *skb);
62 int llc_sap_ev_rx_xid_r(struct llc_sap *sap, struct sk_buff *skb);
63 int llc_sap_ev_test_req(struct llc_sap *sap, struct sk_buff *skb);
64 int llc_sap_ev_rx_test_c(struct llc_sap *sap, struct sk_buff *skb);
65 int llc_sap_ev_rx_test_r(struct llc_sap *sap, struct sk_buff *skb);
[all …]
Dllc_sap.h22 void llc_sap_rtn_pdu(struct llc_sap *sap, struct sk_buff *skb);
28 void llc_build_and_send_test_pkt(struct llc_sap *sap, struct sk_buff *skb,
30 void llc_build_and_send_xid_pkt(struct llc_sap *sap, struct sk_buff *skb,
Dllc_conn.h37 struct llc_sap *sap; /* pointer to parent SAP */ member
113 struct sock *llc_lookup_established(struct llc_sap *sap, struct llc_addr *daddr,
115 void llc_sap_add_socket(struct llc_sap *sap, struct sock *sk);
116 void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk);
Ddatalink.h15 struct llc_sap *sap; member
/include/linux/sunrpc/
Daddr.h23 static inline unsigned short rpc_get_port(const struct sockaddr *sap) in rpc_get_port() argument
25 switch (sap->sa_family) { in rpc_get_port()
27 return ntohs(((struct sockaddr_in *)sap)->sin_port); in rpc_get_port()
29 return ntohs(((struct sockaddr_in6 *)sap)->sin6_port); in rpc_get_port()
34 static inline void rpc_set_port(struct sockaddr *sap, in rpc_set_port() argument
37 switch (sap->sa_family) { in rpc_set_port()
39 ((struct sockaddr_in *)sap)->sin_port = htons(port); in rpc_set_port()
42 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port); in rpc_set_port()
Dxprtmultipath.h82 const struct sockaddr *sap);
Dclnt.h260 const struct sockaddr *sap);
/include/linux/lockd/
Dlockd.h231 struct nlm_host *nlmclnt_lookup_host(const struct sockaddr *sap,
259 const struct sockaddr *sap,
321 static inline int __nlm_privileged_request4(const struct sockaddr *sap) in __nlm_privileged_request4() argument
323 const struct sockaddr_in *sin = (struct sockaddr_in *)sap; in __nlm_privileged_request4()
332 static inline int __nlm_privileged_request6(const struct sockaddr *sap) in __nlm_privileged_request6() argument
334 const struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sap; in __nlm_privileged_request6()
345 static inline int __nlm_privileged_request6(const struct sockaddr *sap) in __nlm_privileged_request6() argument
359 const struct sockaddr *sap = svc_addr(rqstp); in nlm_privileged_requester() local
361 switch (sap->sa_family) { in nlm_privileged_requester()
363 return __nlm_privileged_request4(sap); in nlm_privileged_requester()
[all …]
/include/uapi/linux/netfilter_bridge/
Debt_802_3.h58 __u8 sap; member
/include/uapi/linux/
Datmsvc.h36 struct atm_sap sap; /* SAP */ member
/include/linux/
Datmdev.h103 struct atm_sap sap; /* SAP */ member
/include/trace/events/
Drpcrdma.h2163 const struct sockaddr *sap
2166 TP_ARGS(event, sap),
2178 "%pISpc", sap);
Dsunrpc.h1965 struct sockaddr *sap,
1970 TP_ARGS(program, protocol, sap, salen, xprt),
1983 __assign_sockaddr(addr, sap, salen);