/net/ncsi/ |
D | ncsi-cmd.c | 51 h->length = htons(nca->payload); in ncsi_cmd_build_header() 57 sizeof(*h) + nca->payload); in ncsi_cmd_build_header() 59 ALIGN(nca->payload, 4)); in ncsi_cmd_build_header() 218 int payload; in ncsi_cmd_handler_oem() local 226 payload = ALIGN(nca->payload, 4); in ncsi_cmd_handler_oem() 228 len += max(payload, padding_bytes); in ncsi_cmd_handler_oem() 231 unsafe_memcpy(&cmd->mfr_id, nca->data, nca->payload, in ncsi_cmd_handler_oem() 240 int payload; member 283 int payload; in ncsi_alloc_command() local 299 payload = ALIGN(nca->payload, 4); in ncsi_alloc_command() [all …]
|
D | ncsi-aen.c | 20 const unsigned short payload) in ncsi_validate_aen_pkt() argument 27 if (ntohs(h->common.length) != payload) in ncsi_validate_aen_pkt() 34 pchecksum = (__be32 *)((void *)(h + 1) + payload - 4); in ncsi_validate_aen_pkt() 39 sizeof(*h) + payload - 4); in ncsi_validate_aen_pkt() 200 int payload; member 230 ret = ncsi_validate_aen_pkt(h, nah->payload); in ncsi_aen_handler()
|
D | ncsi-rsp.c | 36 unsigned short payload) in ncsi_validate_rsp_pkt() argument 53 if (ntohs(h->common.length) != payload) { in ncsi_validate_rsp_pkt() 72 pchecksum = (__be32 *)((void *)(h + 1) + ALIGN(payload, 4) - 4); in ncsi_validate_rsp_pkt() 77 sizeof(*h) + payload - 4); in ncsi_validate_rsp_pkt() 1098 int payload; member 1144 int payload, i, ret; in ncsi_rcv_rsp() local 1192 payload = nrh->payload; in ncsi_rcv_rsp() 1193 if (payload < 0) in ncsi_rcv_rsp() 1194 payload = ntohs(hdr->length); in ncsi_rcv_rsp() 1195 ret = ncsi_validate_rsp_pkt(nr, payload); in ncsi_rcv_rsp()
|
/net/dns_resolver/ |
D | dns_key.c | 196 prep->payload.data[dns_key_error] = ERR_PTR(-derrno); in dns_resolver_preparse() 209 if (prep->payload.data[dns_key_error]) { in dns_resolver_preparse() 210 kleave(" = 0 [h_error %ld]", PTR_ERR(prep->payload.data[dns_key_error])); in dns_resolver_preparse() 228 prep->payload.data[dns_key_data] = upayload; in dns_resolver_preparse() 240 kfree(prep->payload.data[dns_key_data]); in dns_resolver_free_preparse() 298 int err = PTR_ERR(key->payload.data[dns_key_error]); in dns_resolver_describe() 314 int err = PTR_ERR(key->payload.data[dns_key_error]); in dns_resolver_read()
|
D | dns_query.c | 145 ret = PTR_ERR(rkey->payload.data[dns_key_error]); in dns_query()
|
/net/xfrm/ |
D | xfrm_compat.c | 137 int payload = compat_msg_min[type]; in xfrm_nlmsg_put_compat() local 142 if (WARN_ON_ONCE(src_len < payload)) in xfrm_nlmsg_put_compat() 146 nlh_src->nlmsg_type, payload, nlh_src->nlmsg_flags); in xfrm_nlmsg_put_compat() 150 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat() 164 WARN_ON_ONCE(src_len != payload); in xfrm_nlmsg_put_compat() 172 WARN_ON_ONCE(src_len != payload + 4); in xfrm_nlmsg_put_compat() 173 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat() 400 size_t size, int copy_len, int payload) in xfrm_attr_cpy32() argument 409 if (WARN_ON_ONCE(copy_len > payload)) in xfrm_attr_cpy32() 410 copy_len = payload; in xfrm_attr_cpy32() [all …]
|
/net/atm/ |
D | br2684.c | 89 enum br2684_payload payload; member 208 ((brdev->payload == p_bridged) ? in br2684_xmit_vcc() 210 ((brdev->payload == p_bridged) ? BR2684_PAD_LEN : 0); in br2684_xmit_vcc() 224 if (brdev->payload == p_bridged) { in br2684_xmit_vcc() 228 } else if (brdev->payload == p_routed) { in br2684_xmit_vcc() 247 if (brdev->payload == p_bridged) { in br2684_xmit_vcc() 480 if (brdev->payload == p_routed) { in br2684_push() 669 enum br2684_payload payload; in br2684_create() local 677 payload = p_routed; in br2684_create() 679 payload = p_bridged; in br2684_create() [all …]
|
/net/rxrpc/ |
D | key.c | 116 prep->payload.data[1] = (void *)((unsigned long)prep->payload.data[1] + 1); in rxrpc_preparse_xdr_rxkad() 119 for (pptoken = (struct rxrpc_key_token **)&prep->payload.data[0]; in rxrpc_preparse_xdr_rxkad() 361 prep->payload.data[1] = (void *)((unsigned long)prep->payload.data[1] + 1); in rxrpc_preparse() 364 pp = (struct rxrpc_key_token **)&prep->payload.data[0]; in rxrpc_preparse() 408 rxrpc_free_token_list(prep->payload.data[0]); in rxrpc_free_preparse() 416 rxrpc_free_token_list(key->payload.data[0]); in rxrpc_destroy() 429 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_describe() 587 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_read() 657 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_read()
|
D | server_key.c | 85 prep->payload.data[1] = (struct rxrpc_security *)sec; in rxrpc_preparse_s() 95 const struct rxrpc_security *sec = prep->payload.data[1]; in rxrpc_free_preparse_s() 103 const struct rxrpc_security *sec = key->payload.data[1]; in rxrpc_destroy_s() 111 const struct rxrpc_security *sec = key->payload.data[1]; in rxrpc_describe_s()
|
D | rxkad.c | 66 memcpy(&prep->payload.data[2], prep->data, 8); in rxkad_preparse_server_key() 77 prep->payload.data[0] = ci; in rxkad_preparse_server_key() 85 if (prep->payload.data[0]) in rxkad_free_preparse_server_key() 86 crypto_free_skcipher(prep->payload.data[0]); in rxkad_free_preparse_server_key() 91 if (key->payload.data[0]) { in rxkad_destroy_server_key() 92 crypto_free_skcipher(key->payload.data[0]); in rxkad_destroy_server_key() 93 key->payload.data[0] = NULL; in rxkad_destroy_server_key() 208 token = conn->key->payload.data[0]; in rxkad_prime_packet_security() 320 token = call->conn->key->payload.data[0]; in rxkad_secure_packet_encrypt() 510 token = call->conn->key->payload.data[0]; in rxkad_verify_packet_2() [all …]
|
D | security.c | 82 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_call_security() 106 for (token = key->payload.data[0]; token; token = token->next) { in rxrpc_init_client_conn_security()
|
D | local_object.c | 31 __be16 port, u32 info, u8 *payload) in rxrpc_encap_err_rcv() argument 34 return ip_icmp_error(sk, skb, err, port, info, payload); in rxrpc_encap_err_rcv() 36 return ipv6_icmp_error(sk, skb, err, port, info, payload); in rxrpc_encap_err_rcv()
|
/net/mac80211/ |
D | tkip.h | 16 u8 *payload, size_t payload_len); 26 u8 *payload, size_t payload_len, u8 *ta,
|
D | tkip.c | 225 u8 *payload, size_t payload_len) in ieee80211_tkip_encrypt_data() argument 232 payload, payload_len); in ieee80211_tkip_encrypt_data() 241 u8 *payload, size_t payload_len, u8 *ta, in ieee80211_tkip_decrypt_data() argument 247 u8 rc4key[16], keyid, *pos = payload; in ieee80211_tkip_decrypt_data()
|
/net/wireless/ |
D | util.c | 561 } payload; in ieee80211_strip_8023_mesh_hdr() local 565 ret = skb_copy_bits(skb, 0, &payload, sizeof(payload)); in ieee80211_strip_8023_mesh_hdr() 569 hdrlen = sizeof(payload.eth) + __ieee80211_get_mesh_hdrlen(payload.flags); in ieee80211_strip_8023_mesh_hdr() 573 &payload.eth.h_proto))) in ieee80211_strip_8023_mesh_hdr() 578 payload.eth.h_proto = htons(skb->len - hdrlen); in ieee80211_strip_8023_mesh_hdr() 580 mesh_addr = skb->data + sizeof(payload.eth) + ETH_ALEN; in ieee80211_strip_8023_mesh_hdr() 581 switch (payload.flags & MESH_FLAGS_AE) { in ieee80211_strip_8023_mesh_hdr() 583 memcpy(&payload.eth.h_source, mesh_addr, ETH_ALEN); in ieee80211_strip_8023_mesh_hdr() 586 memcpy(&payload.eth, mesh_addr, 2 * ETH_ALEN); in ieee80211_strip_8023_mesh_hdr() 592 pskb_pull(skb, hdrlen - sizeof(payload.eth)); in ieee80211_strip_8023_mesh_hdr() [all …]
|
/net/nfc/nci/ |
D | core.c | 346 const __u8 *payload; member 353 nci_send_cmd(ndev, param->opcode, param->len, param->payload); in nci_generic_req() 356 int nci_prop_cmd(struct nci_dev *ndev, __u8 oid, size_t len, const __u8 *payload) in nci_prop_cmd() argument 362 param.payload = payload; in nci_prop_cmd() 370 const __u8 *payload) in nci_core_cmd() argument 376 param.payload = payload; in nci_core_cmd() 1361 int nci_send_cmd(struct nci_dev *ndev, __u16 opcode, __u8 plen, const void *payload) in nci_send_cmd() argument 1383 skb_put_data(skb, payload, plen); in nci_send_cmd()
|
/net/nfc/hci/ |
D | hcp.c | 23 const u8 *payload, size_t payload_len, in nfc_hci_hcp_message_tx() argument 29 const u8 *ptr = payload; in nfc_hci_hcp_message_tx()
|
D | hci.h | 72 const u8 *payload, size_t payload_len,
|
/net/ceph/ |
D | crypto.c | 320 prep->payload.data[0] = ckey; in ceph_key_preparse() 332 struct ceph_crypto_key *ckey = prep->payload.data[0]; in ceph_key_free_preparse() 339 struct ceph_crypto_key *ckey = key->payload.data[0]; in ceph_key_destroy()
|
D | auth.c | 207 void *payload, *payload_end; in ceph_handle_auth_reply() local 220 payload = p; in ceph_handle_auth_reply() 232 payload_end = payload + payload_len; in ceph_handle_auth_reply() 265 ret = ac->ops->handle_reply(ac, global_id, payload, payload_end, in ceph_handle_auth_reply()
|
/net/batman-adv/ |
D | network-coding.c | 1504 u8 *payload; in batadv_nc_skb_forward() local 1511 payload = skb_network_header(skb); in batadv_nc_skb_forward() 1512 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_forward() 1530 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_forward() 1557 u8 *payload; in batadv_nc_skb_store_for_decoding() local 1564 payload = skb_network_header(skb); in batadv_nc_skb_store_for_decoding() 1565 packet = (struct batadv_unicast_packet *)payload; in batadv_nc_skb_store_for_decoding() 1590 packet_id = batadv_skb_crc32(skb, payload + sizeof(*packet)); in batadv_nc_skb_store_for_decoding()
|
/net/dccp/ccids/ |
D | ccid3.c | 716 const u32 payload = skb->len - dccp_hdr(skb)->dccph_doff * 4; in ccid3_hc_rx_packet_recv() local 719 hc->rx_s = payload; in ccid3_hc_rx_packet_recv() 733 const u32 payload = skb->len - dccp_hdr(skb)->dccph_doff * 4; in ccid3_hc_rx_packet_recv() local 737 hc->rx_s = tfrc_ewma(hc->rx_s, payload, 9); in ccid3_hc_rx_packet_recv() 738 hc->rx_bytes_recv += payload; in ccid3_hc_rx_packet_recv()
|
/net/sctp/ |
D | sm_make_chunk.c | 978 __be32 payload; in sctp_make_abort_no_data() local 987 payload = htonl(tsn); in sctp_make_abort_no_data() 988 sctp_init_cause(retval, SCTP_ERROR_NO_DATA, sizeof(payload)); in sctp_make_abort_no_data() 989 sctp_addto_chunk(retval, sizeof(payload), (const void *)&payload); in sctp_make_abort_no_data() 1013 void *payload = NULL; in sctp_make_abort_user() local 1023 payload = kmalloc(paylen, GFP_KERNEL); in sctp_make_abort_user() 1024 if (!payload) in sctp_make_abort_user() 1027 err = memcpy_from_msg(payload, msg, paylen); in sctp_make_abort_user() 1033 sctp_addto_chunk(retval, paylen, payload); in sctp_make_abort_user() 1036 kfree(payload); in sctp_make_abort_user() [all …]
|
/net/netfilter/ |
D | nft_payload.c | 257 const struct nft_payload *payload; in nft_payload_reduce() local 264 payload = nft_expr_priv(track->regs[priv->dreg].selector); in nft_payload_reduce() 265 if (priv->base != payload->base || in nft_payload_reduce() 266 priv->offset != payload->offset || in nft_payload_reduce() 267 priv->len != payload->len) { in nft_payload_reduce()
|
/net/ipv6/ |
D | calipso.c | 1302 int len_delta, new_end, pad, payload; in calipso_skbuff_setattr() local 1340 payload = ntohs(ip6_hdr->payload_len); in calipso_skbuff_setattr() 1341 ip6_hdr->payload_len = htons(payload + len_delta); in calipso_skbuff_setattr()
|