Searched refs:padding (Results 1 – 12 of 12) sorted by relevance
/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/rxrpc/ |
D | conn_event.c | 94 u32 serial, mtu, call_id, padding; in rxrpc_conn_retransmit_call() local 123 iov[1].iov_base = &padding; in rxrpc_conn_retransmit_call() 166 padding = 0; in rxrpc_conn_retransmit_call()
|
/net/sctp/ |
D | output.c | 481 int padding; in sctp_packet_pack() local 492 padding = SCTP_PAD4(chunk->skb->len) - chunk->skb->len; in sctp_packet_pack() 493 if (padding) in sctp_packet_pack() 494 skb_put_zero(chunk->skb, padding); in sctp_packet_pack()
|
D | ulpevent.c | 682 size_t padding, datalen; in sctp_ulpevent_make_rcvmsg() local 725 padding = SCTP_PAD4(datalen) - datalen; in sctp_ulpevent_make_rcvmsg() 728 skb_trim(skb, chunk->chunk_end - padding - skb->data); in sctp_ulpevent_make_rcvmsg()
|
/net/wireless/ |
D | util.c | 794 int offset = 0, subframe_len, padding; in ieee80211_is_valid_amsdu() local 796 for (offset = 0; offset < skb->len; offset += subframe_len + padding) { in ieee80211_is_valid_amsdu() 813 padding = (4 - subframe_len) & 0x3; in ieee80211_is_valid_amsdu() 848 u8 padding; in ieee80211_amsdu_to_8023s() local 859 padding = (4 - subframe_len) & 0x3; in ieee80211_amsdu_to_8023s() 869 last = remaining <= subframe_len + padding; in ieee80211_amsdu_to_8023s() 875 offset += len + padding; in ieee80211_amsdu_to_8023s() 890 offset += len + padding; in ieee80211_amsdu_to_8023s()
|
/net/netfilter/ipset/ |
D | ip_set_hash_ipportip.c | 47 u8 padding; member 213 u8 padding; member
|
D | ip_set_hash_ipport.c | 49 u8 padding; member 216 u8 padding; member
|
D | ip_set_hash_netnet.c | 50 u8 padding; member 285 u8 padding; member
|
D | ip_set_hash_netportnet.c | 54 u16 padding; member 345 u16 padding; member
|
/net/ipv6/ |
D | calipso.c | 730 static const unsigned char padding[4] = {2, 1, 0, 3}; in calipso_genopt() local 734 pad = padding[start & 3]; in calipso_genopt()
|
/net/sunrpc/ |
D | xdr.c | 71 unsigned int padding = (quadlen << 2) - nbytes; in xdr_encode_opaque_fixed() local 75 if (padding != 0) in xdr_encode_opaque_fixed() 76 memset((char *)p + nbytes, 0, padding); in xdr_encode_opaque_fixed()
|
/net/core/ |
D | flow_dissector.c | 1800 u8 padding; member
|