Searched refs:padding (Results 1 – 12 of 12) sorted by relevance
/net/netfilter/ipset/ |
D | ip_set_hash_ipport.c | 46 u8 padding; member 53 u8 padding; member 61 u8 padding; member 69 u8 padding; member 231 u8 padding; member 238 u8 padding; member 246 u8 padding; member 254 u8 padding; member
|
D | ip_set_hash_ipportip.c | 47 u8 padding; member 55 u8 padding; member 64 u8 padding; member 73 u8 padding; member 241 u8 padding; member 249 u8 padding; member 258 u8 padding; member 267 u8 padding; member
|
/net/dccp/ |
D | options.c | 572 int padding = DCCP_SKB_CB(skb)->dccpd_opt_len % 4; in dccp_insert_option_padding() local 574 if (padding != 0) { in dccp_insert_option_padding() 575 padding = 4 - padding; in dccp_insert_option_padding() 576 memset(skb_push(skb, padding), 0, padding); in dccp_insert_option_padding() 577 DCCP_SKB_CB(skb)->dccpd_opt_len += padding; in dccp_insert_option_padding()
|
/net/sctp/ |
D | output.c | 399 int padding; /* How much padding do we need? */ in sctp_packet_transmit() local 493 padding = WORD_ROUND(chunk->skb->len) - chunk->skb->len; in sctp_packet_transmit() 494 if (padding) in sctp_packet_transmit() 495 memset(skb_put(chunk->skb, padding), 0, padding); in sctp_packet_transmit()
|
D | ulpevent.c | 689 size_t padding, len; in sctp_ulpevent_make_rcvmsg() local 736 padding = WORD_ROUND(len) - len; in sctp_ulpevent_make_rcvmsg() 739 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
|
D | sm_make_chunk.c | 1442 void *padding; in sctp_addto_chunk() local 1446 padding = skb_put(chunk->skb, padlen); in sctp_addto_chunk() 1449 memset(padding, 0, padlen); in sctp_addto_chunk()
|
/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/sunrpc/xprtrdma/ |
D | xprt_rdma.h | 234 unsigned int padding; /* non-rdma write header padding */ member 244 rpcx_to_rdmad(rq->rq_xprt).padding
|
D | verbs.c | 692 ep->rep_attr.cap.max_send_sge = (cdata->padding ? 4 : 2); in rpcrdma_ep_create() 989 len += cdata->padding; in rpcrdma_buffer_create() 1027 if (cdata->padding) { in rpcrdma_buffer_create() 1028 rc = rpcrdma_register_internal(ia, p, cdata->padding, in rpcrdma_buffer_create() 1033 p += cdata->padding; in rpcrdma_buffer_create()
|
D | transport.c | 336 cdata.padding = xprt_rdma_inline_write_padding; in xprt_setup_rdma()
|
/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() 774 unsigned int padding; in xdr_read_pages() local 780 padding = (nwords << 2) - len; in xdr_read_pages() 783 end = ((xdr->nwords - nwords) << 2) + padding; in xdr_read_pages() 791 xdr->p = (__be32 *)((char *)iov->iov_base + padding); in xdr_read_pages() 794 xdr->nwords = XDR_QUADLEN(end - padding); in xdr_read_pages()
|
/net/wireless/ |
D | util.c | 589 u8 padding; in ieee80211_amsdu_to_8023s() local 597 padding = (4 - subframe_len) & 0x3; in ieee80211_amsdu_to_8023s() 604 if (remaining <= subframe_len + padding) in ieee80211_amsdu_to_8023s() 621 padding); in ieee80211_amsdu_to_8023s()
|