Searched refs:code (Results 1 - 25 of 80) 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/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 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.c86 u8 type, u8 code, int offset, __be32 info)
383 static void icmp6_send(struct sk_buff *skb, u8 type, u8 code, __u32 info) argument
410 * in any code that processes icmp errors.
424 code == ICMPV6_UNK_OPTION &&
469 fl6.fl6_icmp_code = code;
482 tmp_hdr.icmp6_code = code;
537 void icmpv6_param_prob(struct sk_buff *skb, u8 code, int pos) argument
539 icmp6_send(skb, ICMPV6_PARAMPROB, code, pos);
625 void icmpv6_notify(struct sk_buff *skb, u8 type, u8 code, __be32 info) argument
660 ipprot->err_handler(skb, NULL, type, code, inner_offse
85 icmpv6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
951 icmpv6_err_convert(u8 type, u8 code, int *err) argument
[all...]
H A Dtunnel6.c141 u8 type, u8 code, int offset, __be32 info)
146 if (!handler->err_handler(skb, opt, type, code, offset, info))
140 tunnel6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
H A Dxfrm6_tunnel.c246 u8 type, u8 code, int offset, __be32 info)
251 switch (code) {
264 switch (code) {
273 switch (code) {
245 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.c37 int nci_to_errno(__u8 code) argument
39 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/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/bluetooth/
H A Dlib.c45 int bt_to_errno(__u16 code) argument
47 switch (code) {
H A Dsmp.c152 static struct sk_buff *smp_build_cmd(struct l2cap_conn *conn, u8 code, argument
159 len = L2CAP_HDR_SIZE + sizeof(code) + dlen;
169 lh->len = cpu_to_le16(sizeof(code) + dlen);
172 memcpy(skb_put(skb, sizeof(code)), &code, sizeof(code)); local
179 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) argument
181 struct sk_buff *skb = smp_build_cmd(conn, code, len, data);
183 BT_DBG("code 0x%2.2x", code);
850 __u8 code = skb->data[0]; local
[all...]
/net/core/
H A Dfilter.c75 * Run the filter code and then cut skb->data to correct size returned by
144 switch (fentry->code) {
395 WARN_RATELIMIT(1, "Unknown code:%u jt:%u tf:%u k:%u\n",
396 fentry->code, fentry->jt,
429 switch (filter[pc].code) {
467 * sk_chk_filter - verify socket filter code
471 * Check the user's filter code. If we let some ugly
472 * filter code slip through kaboom! The filter must contain
543 /* check the filter code now */
546 u16 code local
849 u16 code; local
[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
90 pptr->icmphdr.code < info->icmpv6_code[0] ||
91 pptr->icmphdr.code > info->icmpv6_code[1],
/net/ipv4/
H A Dicmp.c25 * code.
239 struct flowi4 *fl4, int type, int code)
248 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED)
374 icmp_param->data.icmph.code))
386 int type, int code,
401 fl4->fl4_icmp_code = code;
485 void icmp_send(struct sk_buff *skb_in, int type, int code, __be32 info) argument
603 icmp_param.data.icmph.code = code;
615 type, code,
238 icmpv4_xrlim_allow(struct net *net, struct rtable *rt, struct flowi4 *fl4, int type, int code) argument
381 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
952 int code = icmp_hdr(skb)->code; local
[all...]
H A Dping.c13 * Based on ipv4/udp.c code.
468 static inline int ping_supported(int family, int type, int code) argument
470 return (family == AF_INET && type == ICMP_ECHO && code == 0) ||
471 (family == AF_INET6 && type == ICMPV6_ECHO_REQUEST && code == 0);
485 int code; local
494 code = icmp_hdr(skb)->code;
499 code = icmp6_hdr(skb)->icmp6_code;
507 if (!ping_supported(family, icmph->type, icmph->code))
510 pr_debug("ping_err(proto=0x%x,type=%d,code
652 u8 type, code; local
[all...]
H A Draw.c215 const int code = icmp_hdr(skb)->code; local
219 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED)
245 if (code > NR_ICMP_UNREACH)
247 err = icmp_err_convert[code].errno;
248 harderr = icmp_err_convert[code].fatal;
249 if (code == ICMP_FRAG_NEEDED) {
420 u8 __user *code = NULL; local
440 /* check if code field is readable or not. */
442 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]);
H A Dipt_REJECT.c129 static inline void send_unreach(struct sk_buff *skb_in, int code) argument
131 icmp_send(skb_in, ICMP_DEST_UNREACH, code, 0);
134 skb_in->sk->sk_err = icmp_err_convert[code].errno;
/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]);
H A Dip6t_REJECT.c176 send_unreach(struct net *net, struct sk_buff *skb_in, unsigned char code, argument
182 icmpv6_send(skb_in, ICMPV6_DEST_UNREACH, code, 0);
185 icmpv6_err_convert(ICMPV6_DEST_UNREACH, code,
/net/netfilter/
H A Dnf_conntrack_sip.c1152 unsigned int cseq, unsigned int code)
1158 if ((code >= 100 && code <= 199) ||
1159 (code >= 200 && code <= 299))
1169 unsigned int cseq, unsigned int code)
1175 if ((code >= 100 && code <= 199) ||
1176 (code >= 200 && code <
1149 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
1166 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
1183 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
1331 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
1424 unsigned int code, cseq, i; local
[all...]
/net/8021q/
H A DKconfig16 To compile this code as a module, choose M here: the module
/net/openvswitch/
H A DKconfig25 To compile this code as a module, choose M here: the module will be
/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 577 milliseconds

1234