/net/ncsi/ |
D | ncsi-pkt.h | 40 unsigned char pad[26]; member 46 unsigned char pad[22]; member 55 unsigned char pad[22]; member 64 unsigned char pad[22]; member 72 unsigned char pad[22]; member 82 unsigned char pad[18]; member 91 unsigned char pad[18]; member 103 unsigned char pad[18]; member 112 unsigned char pad[22]; member 122 unsigned char pad[18]; member [all …]
|
/net/ipv6/ |
D | calipso.c | 728 u32 len, pad; in calipso_genopt() local 734 pad = padding[start & 3]; in calipso_genopt() 735 if (buf_len <= start + pad + CALIPSO_HDR_LEN) in calipso_genopt() 746 buf + start + pad + len, in calipso_genopt() 747 buf_len - start - pad - len); in calipso_genopt() 753 calipso_pad_write(buf, start, pad); in calipso_genopt() 754 calipso = buf + start + pad; in calipso_genopt() 764 return pad + len; in calipso_genopt() 912 unsigned int start, end, buf_len, pad, hop_len; in calipso_opt_insert() local 943 pad = ((buf_len & 4) + (end & 7)) & 7; in calipso_opt_insert() [all …]
|
D | rpl.c | 47 outhdr->pad = 0; in ipv6_rpl_srh_decompress() 110 outhdr->pad = 8 - (seglen & 0x7); in ipv6_rpl_srh_compress() 112 outhdr->pad = 0; in ipv6_rpl_srh_compress()
|
D | ioam6_iptunnel.c | 26 u8 pad[2]; /* 2-octet padding for 4n-alignment */ member 137 tuninfo->pad[0] = IPV6_TLV_PADN; in ioam6_build_state()
|
D | ndisc.c | 146 int data_len, int pad) in __ndisc_fill_addr_option() argument 148 int space = __ndisc_opt_addr_space(data_len, pad); in __ndisc_fill_addr_option() 154 memset(opt + 2, 0, pad); in __ndisc_fill_addr_option() 155 opt += pad; in __ndisc_fill_addr_option() 156 space -= pad; in __ndisc_fill_addr_option()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 69 u8 pad; in gss_krb5_remove_padding() local 73 pad = *(u8 *)(buf->head[0].iov_base + len - 1); in gss_krb5_remove_padding() 74 if (pad > buf->head[0].iov_len) in gss_krb5_remove_padding() 76 buf->head[0].iov_len -= pad; in gss_krb5_remove_padding() 86 pad = *(ptr + offset); in gss_krb5_remove_padding() 92 pad = *(u8 *)(buf->tail[0].iov_base + len - 1); in gss_krb5_remove_padding() 107 if (pad > blocksize) in gss_krb5_remove_padding() 109 if (buf->len > pad) in gss_krb5_remove_padding() 110 buf->len -= pad; in gss_krb5_remove_padding()
|
D | svcauth_gss.c | 958 fix_priv_head(struct xdr_buf *buf, int pad) in fix_priv_head() argument 964 buf->head[0].iov_len -= pad; in fix_priv_head() 972 int pad, remaining_len, offset; in unwrap_priv_data() local 989 pad = remaining_len - priv_len; in unwrap_priv_data() 990 buf->len -= pad; in unwrap_priv_data() 991 fix_priv_head(buf, pad); in unwrap_priv_data() 994 pad = priv_len - buf->len; in unwrap_priv_data() 1005 fix_priv_head(buf, pad); in unwrap_priv_data() 1776 int pad; in svcauth_gss_wrap_resp_priv() local 1826 pad = 3 - ((resbuf->len - offset - 1)&3); in svcauth_gss_wrap_resp_priv() [all …]
|
D | auth_gss.c | 1818 u32 pad, offset, maj_stat; in gss_wrap_req_priv() local 1874 pad = xdr_pad_size(snd_buf->len - offset); in gss_wrap_req_priv() 1875 memset(p, 0, pad); in gss_wrap_req_priv() 1876 iov->iov_len += pad; in gss_wrap_req_priv() 1877 snd_buf->len += pad; in gss_wrap_req_priv()
|
/net/mac80211/ |
D | fils_aead.c | 16 static void gf_mulx(u8 *pad) in gf_mulx() argument 18 u64 a = get_unaligned_be64(pad); in gf_mulx() 19 u64 b = get_unaligned_be64(pad + 8); in gf_mulx() 21 put_unaligned_be64((a << 1) | (b >> 63), pad); in gf_mulx() 22 put_unaligned_be64((b << 1) ^ ((a >> 63) ? 0x87 : 0), pad + 8); in gf_mulx()
|
/net/wireless/ |
D | radiotap.c | 217 int pad, align, size, subns; in ieee80211_radiotap_iterator_next() local 271 pad = ((unsigned long)iterator->_arg - in ieee80211_radiotap_iterator_next() 274 if (pad) in ieee80211_radiotap_iterator_next() 275 iterator->_arg += align - pad; in ieee80211_radiotap_iterator_next()
|
/net/rxrpc/ |
D | rxkad.c | 269 size_t pad; in rxkad_secure_packet_auth() local 280 pad = sizeof(struct rxkad_level1_hdr) + data_size; in rxkad_secure_packet_auth() 281 pad = RXKAD_ALIGN - pad; in rxkad_secure_packet_auth() 282 pad &= RXKAD_ALIGN - 1; in rxkad_secure_packet_auth() 283 if (pad) in rxkad_secure_packet_auth() 284 skb_put_zero(skb, pad); in rxkad_secure_packet_auth() 314 size_t pad; in rxkad_secure_packet_encrypt() local 328 pad = sizeof(struct rxkad_level2_hdr) + data_size; in rxkad_secure_packet_encrypt() 329 pad = RXKAD_ALIGN - pad; in rxkad_secure_packet_encrypt() 330 pad &= RXKAD_ALIGN - 1; in rxkad_secure_packet_encrypt() [all …]
|
D | protocol.h | 82 uint8_t pad; member
|
/net/ethtool/ |
D | pause.c | 77 const u16 pad = ETHTOOL_A_PAUSE_STAT_PAD; in pause_put_stats() local 85 ETHTOOL_A_PAUSE_STAT_TX_FRAMES, pad) || in pause_put_stats() 87 ETHTOOL_A_PAUSE_STAT_RX_FRAMES, pad)) in pause_put_stats()
|
/net/netfilter/ |
D | nft_compat.c | 187 int pad; in target_compat_from_user() local 190 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user() 191 if (pad > 0) in target_compat_from_user() 192 memset(out + t->targetsize, 0, pad); in target_compat_from_user() 477 int pad; in match_compat_from_user() local 480 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user() 481 if (pad > 0) in match_compat_from_user() 482 memset(out + m->matchsize, 0, pad); in match_compat_from_user()
|
/net/sctp/ |
D | output.c | 219 struct sctp_chunk *pad; in sctp_packet_bundle_pad() local 228 pad = sctp_make_pad(t->asoc, t->pl.probe_size - overhead); in sctp_packet_bundle_pad() 229 if (!pad) in sctp_packet_bundle_pad() 232 list_add_tail(&pad->list, &pkt->chunk_list); in sctp_packet_bundle_pad() 233 pkt->size += SCTP_PAD4(ntohs(pad->chunk_hdr->length)); in sctp_packet_bundle_pad()
|
/net/tipc/ |
D | msg.c | 484 u32 msz, bsz, offset, pad; in tipc_msg_bundle() local 489 pad = offset - bsz; in tipc_msg_bundle() 491 if (unlikely(skb_tailroom(bskb) < (pad + msz))) in tipc_msg_bundle() 496 skb_put(bskb, pad + msz); in tipc_msg_bundle()
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 638 unsigned int len, pe_name_len, pad; in ip_vs_sync_conn() local 687 pad = 0; in ip_vs_sync_conn() 691 pad = (4 - (size_t) buff->head) & 3; in ip_vs_sync_conn() 693 if (buff->head + len + pad > buff->end || m->reserved) { in ip_vs_sync_conn() 697 pad = 0; in ip_vs_sync_conn() 713 buff->head += pad + len; in ip_vs_sync_conn() 714 m->size = htons(ntohs(m->size) + pad + len); in ip_vs_sync_conn() 716 while (pad--) in ip_vs_sync_conn()
|
/net/tls/ |
D | tls_sw.c | 188 int pad; in tls_decrypt_done() local 190 pad = padding_length(ctx, prot, skb); in tls_decrypt_done() 191 if (pad < 0) { in tls_decrypt_done() 192 ctx->async_wait.err = pad; in tls_decrypt_done() 193 tls_err_abort(skb->sk, pad); in tls_decrypt_done() 195 rxm->full_len -= pad; in tls_decrypt_done() 1560 int pad, err = 0; in decrypt_skb_update() local 1586 pad = padding_length(ctx, prot, skb); in decrypt_skb_update() 1587 if (pad < 0) in decrypt_skb_update() 1588 return pad; in decrypt_skb_update() [all …]
|
/net/sunrpc/xprtrdma/ |
D | rpc_rdma.c | 1039 rpcrdma_inline_fixup(struct rpc_rqst *rqst, char *srcp, int copy_len, int pad) in rpcrdma_inline_fixup() argument 1097 if (pad) in rpcrdma_inline_fixup() 1098 srcp -= pad; in rpcrdma_inline_fixup() 1104 if (copy_len || pad) { in rpcrdma_inline_fixup()
|
/net/sched/ |
D | em_text.c | 117 conf.pad = 0; in em_text_dump()
|
/net/bridge/netfilter/ |
D | ebtables.c | 1959 int off, pad = 0; in compat_mtw_from_user() local 2013 pad = XT_ALIGN(size_kern) - size_kern; in compat_mtw_from_user() 2015 if (pad > 0 && dst) { in compat_mtw_from_user() 2016 if (WARN_ON(state->buf_kern_len <= pad)) in compat_mtw_from_user() 2018 if (WARN_ON(state->buf_kern_offset - (match_size + off) + size_kern > state->buf_kern_len - pad)) in compat_mtw_from_user() 2020 memset(dst + size_kern, 0, pad); in compat_mtw_from_user()
|
/net/ipv4/ |
D | raw_diag.c | 240 BUILD_BUG_ON(__offset_mismatch(pad, sdiag_raw_protocol)); in __check_inet_diag_req_raw()
|
/net/atm/ |
D | br2684.c | 57 static const unsigned char pad[] = { PAD_BRIDGED }; variable 494 if (memcmp(skb->data, pad, BR2684_PAD_LEN) != 0) in br2684_push()
|
/net/unix/ |
D | diag.c | 139 rep->pad = 0; in sk_diag_fill()
|
/net/sunrpc/ |
D | xdr.c | 1191 unsigned int pad = 4 - (len & 3); in xdr_write_pages() local 1195 iov->iov_len += pad; in xdr_write_pages() 1196 len += pad; in xdr_write_pages()
|