Home
last modified time | relevance | path

Searched refs:payloadlen (Results 1 – 12 of 12) sorted by relevance

/external/libnl/lib/
Dmsg.c832 struct nl_cache_ops *ops, int *payloadlen) in print_genl_msg() argument
836 if (*payloadlen < GENL_HDRLEN) in print_genl_msg()
841 *payloadlen -= GENL_HDRLEN; in print_genl_msg()
848 if (*payloadlen < hdrsize) in print_genl_msg()
854 *payloadlen -= hdrsize; in print_genl_msg()
931 int payloadlen = nlmsg_len(hdr); in print_msg() local
940 payloadlen -= attrlen; in print_msg()
944 data = print_genl_msg(msg, ofd, hdr, ops, &payloadlen); in print_msg()
946 if (payloadlen) { in print_msg()
947 fprintf(ofd, " [PAYLOAD] %d octets\n", payloadlen); in print_msg()
[all …]
/external/curl/lib/
Dmqtt.c259 size_t payloadlen = 0; in mqtt_connect() local
275 payloadlen = ulen + plen + MQTT_CLIENTID_LEN + 2; in mqtt_connect()
279 payloadlen += 2; in mqtt_connect()
281 payloadlen += 2; in mqtt_connect()
284 remain_pos = mqtt_encode_len(remain, payloadlen + 10); in mqtt_connect()
287 packetlen = payloadlen + 10 + remain_pos + 1; in mqtt_connect()
490 size_t payloadlen; in mqtt_publish() local
503 payloadlen = strlen(payload); in mqtt_publish()
505 payloadlen = (size_t)postfieldsize; in mqtt_publish()
511 remaininglength = payloadlen + 2 + topiclen; in mqtt_publish()
[all …]
/external/tcpdump/
Dprint-esp.c743 u_int payloadlen; in esp_print() local
856 payloadlen = ep - ct; in esp_print()
873 pt = do_decrypt(ndo, __func__, sa, iv, ct, payloadlen); in esp_print()
881 if (!nd_push_buffer(ndo, pt, pt, payloadlen)) { in esp_print()
896 padlen = GET_U_1(pt + payloadlen - 2); in esp_print()
897 if (padlen + 2 > payloadlen) { in esp_print()
903 nh = GET_U_1(pt + payloadlen - 1); in esp_print()
911 if (!nd_push_snaplen(ndo, pt, payloadlen - (padlen + 2))) { in esp_print()
917 ip_demux_print(ndo, pt, payloadlen - (padlen + 2), ver, fragmented, in esp_print()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_sake.c290 const u8 *payload, size_t payloadlen) in eap_sake_process_identity() argument
304 const u8 *payload, size_t payloadlen) in eap_sake_process_challenge() argument
314 if (eap_sake_parse_attributes(payload, payloadlen, &attr)) in eap_sake_process_challenge()
375 const u8 *payload, size_t payloadlen) in eap_sake_process_confirm() argument
385 if (eap_sake_parse_attributes(payload, payloadlen, &attr)) in eap_sake_process_confirm()
413 const u8 *payload, size_t payloadlen) in eap_sake_process_auth_reject() argument
Deap_server_eke.c423 const u8 *payload, size_t payloadlen) in eap_eke_process_identity() argument
436 end = payload + payloadlen; in eap_eke_process_identity()
518 const u8 *payload, size_t payloadlen) in eap_eke_process_commit() argument
531 end = payload + payloadlen; in eap_eke_process_commit()
591 const u8 *payload, size_t payloadlen) in eap_eke_process_confirm() argument
606 if (payloadlen < (size_t) data->sess.pnonce_len + data->sess.prf_len) { in eap_eke_process_confirm()
666 const u8 *payload, size_t payloadlen) in eap_eke_process_failure() argument
672 if (payloadlen < 4) { in eap_eke_process_failure()
Deap_server_gpsk.c241 const u8 *payload, size_t payloadlen) in eap_gpsk_process_gpsk_2() argument
255 end = payload + payloadlen; in eap_gpsk_process_gpsk_2()
474 const u8 *payload, size_t payloadlen) in eap_gpsk_process_gpsk_4() argument
487 end = payload + payloadlen; in eap_gpsk_process_gpsk_4()
/external/curl/tests/server/
Dmqttd.c395 char *topic, char *payload, size_t payloadlen) in publish() argument
400 ssize_t remaininglength = topiclen + 2 + payloadlen; in publish()
435 memcpy(&packet[payloadindex], payload, payloadlen); in publish()
/external/kernel-headers/original/uapi/linux/
Dio_uring.h691 __u32 payloadlen; member
/external/scapy/scapy/layers/
Dipsec.py82 return (self.payloadlen - 1) * 4
918 ah.payloadlen = len(ah) // 4 - 2
/external/crosvm/io_uring/src/
Dbindings.rs633 pub payloadlen: u32, field
/external/libnl/doc/
Dcore.txt1212 int nlmsg_size(int payloadlen);
1213 int nlmsg_total_size(int payloadlen);
1238 int nlmsg_padlen(int payloadlen);
1284 int nlmsg_valid_hdr(const struct nlmsghdr *hdr, int payloadlen);
/external/scapy/test/
Dregression.uts5665 payloadlen, fragsize = 100, 8
5667 fragcount = (payloadlen // fragsize) + bool(payloadlen % fragsize)
5669 pkt = IP() / ("X" * payloadlen)
5679 assert len(frags[-1].payload) == ((payloadlen % fragsize) or fragsize)
5688 payloadlen = 1480 * 3
5689 ffrags = fragment(IP() / ("X" * payloadlen), 1480)
5701 assert plen == payloadlen
5744 payloadlen, fragsize = 100, 8
5746 fragcount = (payloadlen // fragsize) + bool(payloadlen % fragsize)
5748 pkt = IP() / ("X" * payloadlen)
[all …]