Searched defs:code (Results 1 - 25 of 58) sorted by relevance

123

/net/nfc/nci/
H A Dlib.c36 int nci_to_errno(__u8 code) argument
38 switch (code) {
/net/bluetooth/
H A Dlib.c45 int bt_to_errno(__u16 code) argument
47 switch (code) {
H A Da2mp.c27 static struct a2mp_cmd *__a2mp_build(u8 code, u8 ident, u16 len, void *data) argument
37 cmd->code = code;
46 void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *data) argument
54 cmd = __a2mp_build(code, ident, len, data);
563 BT_DBG("ident %d code 0x%2.2x", hdr->ident, hdr->code);
584 BT_DBG("code 0x%2.2x id %d len %u", hdr->code, hdr->ident, len);
595 switch (hdr->code) {
[all...]
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);
H A Dsmp.h27 __u8 code; member in struct:smp_command_hdr
/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 Dipcomp6.c57 u8 type, u8 code, int offset, __be32 info)
56 ipcomp6_err(struct sk_buff *skb, struct inet6_skb_parm *opt, u8 type, u8 code, int offset, __be32 info) argument
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 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 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 Dmip6.c58 static inline void mip6_param_prob(struct sk_buff *skb, u8 code, int pos) argument
60 icmpv6_send(skb, ICMPV6_PARAMPROB, code, pos);
H A Dping.c13 * Based on ipv4/ping.c code.
68 static int dummy_icmpv6_err_convert(u8 type, u8 code, int *err) argument
164 pfh.icmph.code = user_icmph.icmp6_code;
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/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];
/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/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],
H A Dnft_reject_bridge.c95 u8 code)
133 icmph->code = code;
202 u8 code)
234 icmp6h->icmp6_code = code;
94 nft_reject_br_send_v4_unreach(struct sk_buff *oldskb, int hook, u8 code) argument
200 nft_reject_br_send_v6_unreach(struct net *net, struct sk_buff *oldskb, int hook, u8 code) argument
/net/dccp/
H A Dinput.c127 static u16 dccp_reset_code_convert(const u8 code) argument
146 return code >= DCCP_MAX_RESET_CODES ? 0 : error_code[code];
421 * dccp_v4_do_rcv() sends a Reset. The Reset code depends on
H A Doutput.c60 * Increment GSS here already in case the option code needs it.
503 int dccp_send_reset(struct sock *sk, enum dccp_reset_codes code) argument
522 DCCP_SKB_CB(skb)->dccpd_reset_code = code;
/net/ipv4/
H A Dgre_demux.c218 const int code = icmp_hdr(skb)->code; local
228 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) {
H A Dipip.c33 Thanks for the great code!
38 Cleaned up the code a little and added some pre-1.3.0 tweaks.
142 const int code = icmp_hdr(skb)->code; local
150 if (type == ICMP_DEST_UNREACH && code == ICMP_FRAG_NEEDED) {
/net/irda/irlan/
H A Dirlan_provider.c71 __u8 code; local
82 code = skb->data[0];
83 switch(code) {
H A Dirlan_client.c314 * Function print_ret_code (code)
316 * Print return code of request to peer IrLAN layer.
319 static void print_ret_code(__u8 code) argument
321 switch(code) {
389 * Check return code and print it if not success
/net/rxrpc/
H A Dar-connevent.c344 __be32 code; local
353 iov[1].iov_base = &code;
354 iov[1].iov_len = sizeof(code);
355 size = sizeof(hdr) + sizeof(code);
382 code = htonl(skb->priority);
/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 1327 milliseconds

123