summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorRaj Jayaraman <rjayaraman@nvidia.com>2012-09-17 11:19:54 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:41:46 -0700
commit3afca8e79fd75cd7e84ffa4cced44271e3e199a8 (patch)
tree64bf992a0ea70b264e0f2565d356084eea90364b /include/net
parent3029afa5eeeed152cd1c9dacc30b26f9bb57daa6 (diff)
net: phonet: Modifications for RMC PegaPCI.
* As submitted by RMC for modem support * Bug 1054808 Change-Id: I6674df1870dea09e3a1b6035d2d8218e2f56de3b Signed-off-by: Raj Jayaraman <rjayaraman@nvidia.com> Reviewed-on: http://git-master/r/160031 (cherry picked from commit 60564998c44336e29d653e7d10a20555f0a5703b) Reviewed-on: http://git-master/r/162291 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: WK Tsai <wtsai@nvidia.com> Reviewed-by: Steve Lin <stlin@nvidia.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/phonet/phonet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/phonet/phonet.h b/include/net/phonet/phonet.h
index 68e509750caa..f23fcf156e86 100644
--- a/include/net/phonet/phonet.h
+++ b/include/net/phonet/phonet.h
@@ -38,6 +38,8 @@ struct pn_sock {
u16 sobject;
u16 dobject;
u8 resource;
+ u8 resource_type;
+ u8 resource_subtype;
};
static inline struct pn_sock *pn_sk(struct sock *sk)
@@ -48,6 +50,8 @@ static inline struct pn_sock *pn_sk(struct sock *sk)
extern const struct proto_ops phonet_dgram_ops;
void pn_sock_init(void);
+struct sock *pn_find_sock_by_sa_and_skb(struct net *net,
+ const struct sockaddr_pn *spn, struct sk_buff *skb);
struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa);
void pn_deliver_sock_broadcast(struct net *net, struct sk_buff *skb);
void phonet_get_local_port_range(int *min, int *max);