Searched refs:code (Results 1 - 25 of 85) sorted by relevance

1234

/net/sunrpc/auth_gss/
H A Dgss_krb5_seqnum.c48 s32 code; local
65 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum);
66 if (code)
69 code = krb5_encrypt(cipher, cksum, plain, buf, 8);
72 return code;
106 s32 code; local
114 code = krb5_rc4_setup_seq_key(kctx, cipher, cksum);
115 if (code)
118 code = krb5_decrypt(cipher, cksum, buf, plain, 8);
119 if (code)
143 s32 code; local
[all...]
/net/netfilter/
H A Dnft_reject.c9 * Development of this code funded by Astaro AG (http://www.astaro.com/)
82 int nft_reject_icmp_code(u8 code) argument
84 BUG_ON(code > NFT_REJECT_ICMPX_MAX);
86 return icmp_code_v4[code];
99 int nft_reject_icmpv6_code(u8 code) argument
101 BUG_ON(code > NFT_REJECT_ICMPX_MAX);
103 return icmp_code_v6[code];
H A Dnf_conntrack_sip.c1096 unsigned int cseq, unsigned int code)
1102 if ((code >= 100 && code <= 199) ||
1103 (code >= 200 && code <= 299))
1113 unsigned int cseq, unsigned int code)
1119 if ((code >= 100 && code <= 199) ||
1120 (code >= 200 && code <
1093 process_invite_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1110 process_update_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1127 process_prack_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1275 process_register_response(struct sk_buff *skb, unsigned int protoff, unsigned int dataoff, const char **dptr, unsigned int *datalen, unsigned int cseq, unsigned int code) argument
1368 unsigned int code, cseq, i; local
[all...]
/net/ipv6/
H A Dip6_icmp.c33 void icmpv6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument
42 send(skb, type, code, info);
H A Dxfrm6_protocol.c84 u8 type, u8 code, int offset, __be32 info)
89 if (!handler->err_handler(skb, opt, type, code, offset, info))
111 u8 type, u8 code, int offset, __be32 info)
116 if (!handler->err_handler(skb, opt, type, code, offset, info))
138 u8 type, u8 code, int offset, __be32 info)
143 if (!handler->err_handler(skb, opt, type, code, offset, info))
83 xfrm6_esp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
110 xfrm6_ah_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
137 xfrm6_ipcomp_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dudplite.c24 u8 type, u8 code, int offset, __be32 info)
26 __udp6_lib_err(skb, opt, type, code, offset, info, &udplite_table);
22 udplitev6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dicmp.c87 u8 type, u8 code, int offset, __be32 info)
390 static void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument
417 * in any code that processes icmp errors.
432 code == ICMPV6_UNK_OPTION &&
477 fl6.fl6_icmp_code = code;
490 tmp_hdr.icmp6_code = code;
540 void icmpv6_param_prob(struct sk_buff *skb, u8 code, int pos) argument
542 icmp6_send(skb, ICMPV6_PARAMPROB, code, pos);
627 void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info) argument
662 ipprot->err_handler(skb, NULL, type, code, inner_offse
86 icmpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
953 icmpv6_err_convert(u8 type, u8 code, int *err) argument
[all...]
H A Dtunnel6.c138 u8 type, u8 code, int offset, __be32 info)
143 if (!handler->err_handler(skb, opt, type, code, offset, info))
137 tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dxfrm6_tunnel.c243 u8 type, u8 code, int offset, __be32 info)
248 switch (code) {
261 switch (code) {
270 switch (code) {
242 xfrm6_tunnel_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
/net/nfc/nci/
H A Dlib.c36 int nci_to_errno(__u8 code) argument
38 switch (code) {
/net/wimax/
H A DKconfig31 the WiMAX stack code.
34 be selectively enabled for different parts of the code using
37 If set at zero, this will compile out all the debug code.
/net/hsr/
H A DKconfig20 This code is a "best effort" to comply with the HSR standard as
25 relying on this code in a safety critical system!
/net/bluetooth/
H A Dlib.c45 int bt_to_errno(__u16 code) argument
47 switch (code) {
H A Da2mp.h45 __u8 code; member in struct:a2mp_cmd
143 void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data);
/net/core/
H A Dfilter.c53 * Run the filter code and then cut skb->data to correct size returned by
347 switch (fp->code) {
380 if (BPF_CLASS(fp->code) == BPF_LD &&
381 BPF_MODE(fp->code) == BPF_ABS &&
385 *insn = BPF_RAW_INSN(fp->code, BPF_REG_A, BPF_REG_X, 0, fp->k);
405 insn->code = fp->code;
417 if (BPF_SRC(fp->code) == BPF_K && (int) fp->k < 0) {
431 bpf_src = BPF_SRC(fp->code);
436 insn->code
[all...]
/net/sched/
H A DKconfig22 This code is considered to be experimental.
60 To compile this code as a module, choose M here: the
74 To compile this code as a module, choose M here: the
83 To compile this code as a module, choose M here: the
97 To compile this code as a module, choose M here: the
106 To compile this code as a module, choose M here: the
115 To compile this code as a module, choose M here: the
126 To compile this code as a module, choose M here: the
137 To compile this code as a module, choose M here: the
148 To compile this code a
[all...]
/net/bridge/netfilter/
H A Debt_ip6.c10 * This is just a modification of the IPv4 code written by
32 u8 code; member in struct:pkthdr::__anon16
92 pptr->icmphdr.code < info->icmpv6_code[0] ||
93 pptr->icmphdr.code > info->icmpv6_code[1],
/net/ipv4/
H A Dicmp.c25 * code.
289 struct flowi4 *fl4, int type, int code)
298 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED)
433 icmp_param->data.icmph.code))
445 int type, int code,
460 fl4->fl4_icmp_code = code;
544 void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) argument
667 icmp_param->data.icmph.code = code;
681 type, code, icmp_para
288 icmpv4_xrlim_allow(struct net *net, struct rtable *rt, struct flowi4 *fl4, int type, int code) argument
440 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) argument
1033 int code = icmp_hdr(skb)->code; local
[all...]
H A Dping.c13 * Based on ipv4/udp.c code.
473 static inline int ping_supported(int family, int type, int code) argument
475 return (family == AF_INET && type == ICMP_ECHO && code == 0) ||
476 (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0);
490 int code; local
499 code = icmp_hdr(skb)->code;
504 code = icmp6_hdr(skb)->icmp6_code;
512 if (!ping_supported(family, icmph->type, icmph->code))
515 pr_debug("ping_err(proto=0x%x,type=%d,code
657 u8 type, code; local
[all...]
H A Draw.c218 const int code = icmp_hdr(skb)->code; local
222 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED)
250 if (code > NR_ICMP_UNREACH)
252 err = icmp_err_convert[code].errno;
253 harderr = icmp_err_convert[code].fatal;
254 if (code == ICMP_FRAG_NEEDED) {
427 u8 __user *code = NULL; local
447 /* check if code field is readable or not. */
449 code
[all...]
/net/ipv4/netfilter/
H A Dnf_conntrack_proto_icmp.c44 tuple->dst.u.icmp.code = hp->code;
70 tuple->dst.u.icmp.code = orig->dst.u.icmp.code;
78 return seq_printf(s, "type=%u code=%u id=%u ",
80 tuple->dst.u.icmp.code,
239 nla_put_u8(skb, CTA_PROTO_ICMP_CODE, t->dst.u.icmp.code))
262 tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMP_CODE]);
/net/ipv6/netfilter/
H A Dnf_conntrack_proto_icmpv6.c49 tuple->dst.u.icmp.code = hp->icmp6_code;
82 tuple->dst.u.icmp.code = orig->dst.u.icmp.code;
90 return seq_printf(s, "type=%u code=%u id=%u ",
92 tuple->dst.u.icmp.code,
245 nla_put_u8(skb, CTA_PROTO_ICMPV6_CODE, t->dst.u.icmp.code))
268 tuple->dst.u.icmp.code = nla_get_u8(tb[CTA_PROTO_ICMPV6_CODE]);
/net/8021q/
H A DKconfig16 To compile this code as a module, choose M here: the module
/net/tipc/
H A DKconfig16 This protocol support is also available as a module ( = code which
/net/rfkill/
H A Dinput.c12 * input device, then you can revive code that was removed in the patch
13 * "rfkill-input: remove unused code".
197 unsigned int code, int data)
200 switch (code) {
217 } else if (type == EV_SW && code == SW_RFKILL_ALL)
196 rfkill_event(struct input_handle *handle, unsigned int type, unsigned int code, int data) argument

Completed in 1619 milliseconds

1234