Home
last modified time | relevance | path

Searched refs:nmsg (Results 1 – 7 of 7) sorted by relevance

/external/qemu/slirp/
Dudp.c410 CTL_MSG *nmsg; in udp_emu() local
468 nmsg = (CTL_MSG *) buff; in udp_emu()
475 nmsg = mtod(m, CTL_MSG *); in udp_emu()
476 type = nmsg->type; in udp_emu()
477 OTOSIN(nmsg, ctl_addr)->sin_port = addr.sin_port; in udp_emu()
478 OTOSIN(nmsg, ctl_addr)->sin_addr = our_addr; in udp_emu()
479 pstrcpy(nmsg->l_name, NAME_SIZE_OLD, getlogin()); in udp_emu()
486 COPY_MSG(nmsg, omsg); in udp_emu()
487 nmsg->vers = 1; in udp_emu()
488 nmsg->answer = 0; in udp_emu()
[all …]
/external/iproute2/include/
Dlibnetlink.h79 #define NLMSG_TAIL(nmsg) \ argument
80 ((struct rtattr *) (((void *) (nmsg)) + NLMSG_ALIGN((nmsg)->nlmsg_len)))
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_peap.c824 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt() local
826 if (nmsg == NULL) { in eap_peap_decrypt()
830 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); in eap_peap_decrypt()
831 wpabuf_put_buf(nmsg, in_decrypted); in eap_peap_decrypt()
838 in_decrypted = nmsg; in eap_peap_decrypt()
843 struct wpabuf *nmsg; in eap_peap_decrypt() local
873 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt()
874 if (nmsg == NULL) { in eap_peap_decrypt()
879 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_decrypt()
881 in_decrypted = nmsg; in eap_peap_decrypt()
/external/wpa_supplicant_8/src/eap_peer/
Deap_peap.c820 struct wpabuf *nmsg = wpabuf_alloc(sizeof(struct eap_hdr) + in eap_peap_decrypt() local
822 if (nmsg == NULL) { in eap_peap_decrypt()
826 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); in eap_peap_decrypt()
827 wpabuf_put_buf(nmsg, in_decrypted); in eap_peap_decrypt()
834 in_decrypted = nmsg; in eap_peap_decrypt()
839 struct wpabuf *nmsg; in eap_peap_decrypt() local
869 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_decrypt()
870 if (nmsg == NULL) { in eap_peap_decrypt()
875 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_decrypt()
877 in_decrypted = nmsg; in eap_peap_decrypt()
/external/dhcpcd/
Dif-linux.c415 #define NLMSG_TAIL(nmsg) \ argument
416 ((struct rtattr *)(((ptrdiff_t)(nmsg))+NLMSG_ALIGN((nmsg)->nlmsg_len)))
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_peap.c1111 struct wpabuf *nmsg; in eap_peap_process_phase2() local
1141 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_process_phase2()
1142 if (nmsg == NULL) { in eap_peap_process_phase2()
1147 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_process_phase2()
1149 in_decrypted = nmsg; in eap_peap_process_phase2()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_peap.c1084 struct wpabuf *nmsg; in eap_peap_process_phase2() local
1114 nmsg = wpabuf_alloc(be_to_host16(hdr->length)); in eap_peap_process_phase2()
1115 if (nmsg == NULL) { in eap_peap_process_phase2()
1120 wpabuf_put_data(nmsg, hdr, be_to_host16(hdr->length)); in eap_peap_process_phase2()
1122 in_decrypted = nmsg; in eap_peap_process_phase2()