Searched refs:xp (Results 1 - 8 of 8) sorted by relevance

/net/key/
H A Daf_key.c1853 static int check_reqid(struct xfrm_policy *xp, int dir, int count, void *ptr) argument
1858 for (i=0; i<xp->xfrm_nr; i++) {
1859 if (xp->xfrm_vec[i].reqid == reqid)
1887 parse_ipsecrequest(struct xfrm_policy *xp, struct sadb_x_ipsecrequest *rq) argument
1889 struct net *net = xp_net(xp);
1890 struct xfrm_tmpl *t = xp->xfrm_vec + xp->xfrm_nr;
1893 if (xp->xfrm_nr >= XFRM_MAX_DEPTH)
1929 t->encap_family = xp->family;
1933 xp
1938 parse_ipsecrequests(struct xfrm_policy *xp, struct sadb_x_policy *pol) argument
1956 pfkey_xfrm_policy2sec_ctx_size(const struct xfrm_policy *xp) argument
1968 pfkey_xfrm_policy2msg_size(const struct xfrm_policy *xp) argument
1990 pfkey_xfrm_policy2msg_prep(const struct xfrm_policy *xp) argument
2004 pfkey_xfrm_policy2msg(struct sk_buff *skb, const struct xfrm_policy *xp, int dir) argument
2159 key_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
2195 struct xfrm_policy *xp; local
2309 struct xfrm_policy *xp; local
2380 key_pol_get_resp(struct sock *sk, struct xfrm_policy *xp, const struct sadb_msg *hdr, int dir) argument
2593 struct xfrm_policy *xp; local
2630 dump_sp(struct xfrm_policy *xp, int dir, int count, void *ptr) argument
2963 key_notify_policy_expire(struct xfrm_policy *xp, const struct km_event *c) argument
3025 pfkey_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
3078 pfkey_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *t, struct xfrm_policy *xp) argument
3191 struct xfrm_policy *xp; local
[all...]
/net/xfrm/
H A Dxfrm_user.c1318 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, argument
1323 xp->xfrm_nr = nr;
1325 struct xfrm_tmpl *t = &xp->xfrm_vec[i];
1416 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) argument
1418 xp->priority = p->priority;
1419 xp->index = p->index;
1420 memcpy(&xp->selector, &p->sel, sizeof(xp->selector));
1421 memcpy(&xp->lft, &p->lft, sizeof(xp
1428 copy_to_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p, int dir) argument
1445 struct xfrm_policy *xp = xfrm_policy_alloc(net, GFP_KERNEL); local
1479 struct xfrm_policy *xp; local
1519 copy_to_user_tmpl(struct xfrm_policy *xp, struct sk_buff *skb) argument
1556 copy_to_user_sec_ctx(struct xfrm_policy *xp, struct sk_buff *skb) argument
1588 dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr) argument
1652 xfrm_policy_netlink(struct sk_buff *in_skb, struct xfrm_policy *xp, int dir, u32 seq) argument
1682 struct xfrm_policy *xp; local
1974 struct xfrm_policy *xp; local
2071 struct xfrm_policy *xp; local
2667 xfrm_acquire_msgsize(struct xfrm_state *x, struct xfrm_policy *xp) argument
2677 build_acquire(struct sk_buff *skb, struct xfrm_state *x, struct xfrm_tmpl *xt, struct xfrm_policy *xp) argument
2714 xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, struct xfrm_policy *xp) argument
2739 struct xfrm_policy *xp; local
2790 xfrm_polexpire_msgsize(struct xfrm_policy *xp) argument
2799 build_polexpire(struct sk_buff *skb, struct xfrm_policy *xp, int dir, const struct km_event *c) argument
2829 xfrm_exp_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
2844 xfrm_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
2938 xfrm_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
[all...]
H A Dxfrm_policy.c177 struct xfrm_policy *xp = (struct xfrm_policy *)data; local
183 read_lock(&xp->lock);
185 if (unlikely(xp->walk.dead))
188 dir = xfrm_policy_id2dir(xp->index);
190 if (xp->lft.hard_add_expires_seconds) {
191 long tmo = xp->lft.hard_add_expires_seconds +
192 xp->curlft.add_time - now;
198 if (xp->lft.hard_use_expires_seconds) {
199 long tmo = xp->lft.hard_use_expires_seconds +
200 (xp
3101 xfrm_audit_common_policyinfo(struct xfrm_policy *xp, struct audit_buffer *audit_buf) argument
3135 xfrm_audit_policy_add(struct xfrm_policy *xp, int result, bool task_valid) argument
3149 xfrm_audit_policy_delete(struct xfrm_policy *xp, int result, bool task_valid) argument
[all...]
H A Dxfrm_state.c1698 void km_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) argument
1705 km->notify_policy(xp, dir, c);
/net/netfilter/
H A Dx_tables.c424 struct xt_af *xp = &xt[af]; local
426 if (!xp->compat_tab) {
427 if (!xp->number)
429 xp->compat_tab = vmalloc(sizeof(struct compat_delta) * xp->number);
430 if (!xp->compat_tab)
432 xp->cur = 0;
435 if (xp->cur >= xp->number)
438 if (xp
[all...]
/net/ipv4/
H A Dinet_fragment.c326 struct sk_buff *xp = fp->next; local
330 fp = xp;
H A Dip_fragment.c298 struct sk_buff *xp = fp->next; local
302 fp = xp;
/net/sunrpc/
H A Dxprtsock.c974 __be32 *xp; local
993 xp = skb_header_pointer(skb, sizeof(rpc_fraghdr), sizeof(_xid), &_xid);
994 if (xp == NULL)
999 rovr = xprt_lookup_rqst(xprt, *xp);
1037 __be32 *xp; local
1054 xp = skb_header_pointer(skb, sizeof(struct udphdr),
1056 if (xp == NULL)
1061 rovr = xprt_lookup_rqst(xprt, *xp);

Completed in 115 milliseconds