/net/dccp/ |
D | options.c | 540 int padding = DCCP_SKB_CB(skb)->dccpd_opt_len % 4; in dccp_insert_option_padding() local 542 if (padding != 0) { in dccp_insert_option_padding() 543 padding = 4 - padding; in dccp_insert_option_padding() 544 memset(skb_push(skb, padding), 0, padding); in dccp_insert_option_padding() 545 DCCP_SKB_CB(skb)->dccpd_opt_len += padding; in dccp_insert_option_padding()
|
/net/sunrpc/auth_gss/ |
D | gss_krb5_wrap.c | 51 int padding = gss_krb5_padding(blocksize, buf->len - offset); in gss_krb5_add_padding() local 60 iov->iov_len += padding; in gss_krb5_add_padding() 61 buf->len += padding; in gss_krb5_add_padding() 62 memset(p, padding, padding); in gss_krb5_add_padding()
|
/net/sctp/ |
D | output.c | 416 int padding; /* How much padding do we need? */ in sctp_packet_transmit() local 569 padding = SCTP_PAD4(chunk->skb->len) - chunk->skb->len; in sctp_packet_transmit() 570 if (padding) in sctp_packet_transmit() 571 memset(skb_put(chunk->skb, padding), 0, padding); in sctp_packet_transmit()
|
D | ulpevent.c | 644 size_t padding, len; in sctp_ulpevent_make_rcvmsg() local 691 padding = SCTP_PAD4(len) - len; in sctp_ulpevent_make_rcvmsg() 694 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
|
D | sm_make_chunk.c | 1473 void *padding; in sctp_addto_chunk() local 1477 padding = skb_put(chunk->skb, padlen); in sctp_addto_chunk() 1480 memset(padding, 0, padlen); in sctp_addto_chunk()
|
/net/sunrpc/ |
D | xdr.c | 65 unsigned int padding = (quadlen << 2) - nbytes; in xdr_encode_opaque_fixed() local 69 if (padding != 0) in xdr_encode_opaque_fixed() 70 memset((char *)p + nbytes, 0, padding); in xdr_encode_opaque_fixed() 954 unsigned int padding; in xdr_read_pages() local 960 padding = (nwords << 2) - len; in xdr_read_pages() 963 end = ((xdr->nwords - nwords) << 2) + padding; in xdr_read_pages() 971 xdr->p = (__be32 *)((char *)iov->iov_base + padding); in xdr_read_pages() 974 xdr->nwords = XDR_QUADLEN(end - padding); in xdr_read_pages()
|
/net/netfilter/ipset/ |
D | ip_set_hash_ipport.c | 49 u8 padding; member 204 u8 padding; member
|
D | ip_set_hash_ipportip.c | 50 u8 padding; member 212 u8 padding; member
|
D | ip_set_hash_netnet.c | 49 u8 padding; member 279 u8 padding; member
|
D | ip_set_hash_netportnet.c | 56 u16 padding; member 330 u16 padding; member
|
/net/wireless/ |
D | util.c | 760 u8 padding; in ieee80211_amsdu_to_8023s() local 765 padding = (4 - subframe_len) & 0x3; in ieee80211_amsdu_to_8023s() 773 last = remaining <= subframe_len + padding; in ieee80211_amsdu_to_8023s() 779 offset += len + padding; in ieee80211_amsdu_to_8023s() 794 offset += len + padding; in ieee80211_amsdu_to_8023s()
|
/net/sunrpc/xprtrdma/ |
D | xprt_rdma.h | 398 unsigned int padding; /* non-rdma write header padding */ member
|
D | transport.c | 360 cdata.padding = xprt_rdma_inline_write_padding; in xprt_setup_rdma()
|
/net/ipv6/ |
D | calipso.c | 748 static const unsigned char padding[4] = {2, 1, 0, 3}; in calipso_genopt() local 752 pad = padding[start & 3]; in calipso_genopt()
|
/net/rxrpc/ |
D | conn_event.c | 41 u8 padding[3]; in rxrpc_conn_retransmit_call() member
|
/net/mac80211/ |
D | tx.c | 3025 int padding = (4 - amsdu_len) & 3; in ieee80211_amsdu_realloc_pad() local 3027 if (skb_headroom(skb) < headroom || skb_tailroom(skb) < padding) { in ieee80211_amsdu_realloc_pad() 3030 if (pskb_expand_head(skb, headroom, padding, GFP_ATOMIC)) { in ieee80211_amsdu_realloc_pad() 3037 if (padding) { in ieee80211_amsdu_realloc_pad() 3038 *subframe_len += padding; in ieee80211_amsdu_realloc_pad() 3039 memset(skb_put(skb, padding), 0, padding); in ieee80211_amsdu_realloc_pad()
|
/net/core/ |
D | flow_dissector.c | 703 u8 padding; member
|