Searched defs:msgtype (Results 1 - 15 of 15) sorted by relevance

/external/nanopb-c/examples/using_union_messages/
H A Dencode.c48 int msgtype = atoi(argv[1]); local
49 if (msgtype == 1)
55 else if (msgtype == 2)
61 else if (msgtype == 3)
69 fprintf(stderr, "Unknown message type: %d\n", msgtype);
/external/kernel-headers/original/uapi/scsi/
H A Dscsi_netlink.h46 uint16_t msgtype; member in struct:scsi_nl_hdr
61 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */
64 * GENERIC SCSI scsi_nl_hdr->msgtype Values
69 /* SCSI_NL_SHOST_VENDOR msgtype is kernel->user and user->kernel */
118 (hdr)->msgtype = mtype; \
/external/wpa_supplicant_8/hostapd/src/ap/
H A Ddhcp_snoop.c40 int res, msgtype = 0, prefixlen = 32; local
84 msgtype = opt[2];
91 if (msgtype == DHCPACK) {
H A Dfils_hlp.c159 u8 msgtype = 0; local
216 msgtype = pos[0];
230 msgtype, rapid_commit, MAC2STR(dhcp->hw_addr));
240 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPOFFER &&
247 } else if (msgtype != DHCPACK) {
274 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPACK &&
327 u8 msgtype = 0; local
369 msgtype = pos[0];
378 wpa_printf(MSG_DEBUG, "FILS: HLP - DHCP message type %u", msgtype);
379 if (msgtype !
[all...]
/external/wpa_supplicant_8/src/ap/
H A Ddhcp_snoop.c40 int res, msgtype = 0, prefixlen = 32; local
84 msgtype = opt[2];
91 if (msgtype == DHCPACK) {
H A Dfils_hlp.c159 u8 msgtype = 0; local
216 msgtype = pos[0];
230 msgtype, rapid_commit, MAC2STR(dhcp->hw_addr));
240 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPOFFER &&
247 } else if (msgtype != DHCPACK) {
274 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPACK &&
327 u8 msgtype = 0; local
369 msgtype = pos[0];
378 wpa_printf(MSG_DEBUG, "FILS: HLP - DHCP message type %u", msgtype);
379 if (msgtype !
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Ddhcp_snoop.c40 int res, msgtype = 0, prefixlen = 32; local
84 msgtype = opt[2];
91 if (msgtype == DHCPACK) {
H A Dfils_hlp.c159 u8 msgtype = 0; local
216 msgtype = pos[0];
230 msgtype, rapid_commit, MAC2STR(dhcp->hw_addr));
240 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPOFFER &&
247 } else if (msgtype != DHCPACK) {
274 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPACK &&
327 u8 msgtype = 0; local
369 msgtype = pos[0];
378 wpa_printf(MSG_DEBUG, "FILS: HLP - DHCP message type %u", msgtype);
379 if (msgtype !
[all...]
/external/libnl/lib/
H A Dcache_mngt.c111 static struct nl_cache_ops *__cache_ops_associate(int protocol, int msgtype) argument
121 if (ops->co_msgtypes[i].mt_id == msgtype)
131 * @arg msgtype netlink message type
140 struct nl_cache_ops *nl_cache_ops_associate(int protocol, int msgtype) argument
145 ops = __cache_ops_associate(protocol, msgtype);
154 * @arg msgtype netlink message type
164 struct nl_cache_ops *nl_cache_ops_associate_safe(int protocol, int msgtype) argument
169 if ((ops = __cache_ops_associate(protocol, msgtype)))
179 * @arg msgtype netlink message type
189 struct nl_msgtype *nl_msgtype_lookup(struct nl_cache_ops *ops, int msgtype) argument
[all...]
/external/curl/lib/
H A Dopenldap.c447 int binary = 0, msgtype; local
450 msgtype = ldap_msgtype(ent);
451 if(msgtype == LDAP_RES_SEARCH_RESULT) {
477 else if(msgtype != LDAP_RES_SEARCH_ENTRY)
/external/tcpdump/
H A Dprint-fr.c793 u_int msgtype; local
843 msgtype = *p;
922 "unknown message", msgtype),
923 msgtype,
928 "unknown message 0x%02x", msgtype)));
/external/syslinux/gpxe/src/net/udp/
H A Ddhcp.c124 * @v msgtype DHCP message type
127 static inline const char * dhcp_msgtype_name ( unsigned int msgtype ) {
128 switch ( msgtype ) {
186 * @v msgtype DHCP message type
192 uint8_t msgtype, struct in_addr server_id );
392 * @v msgtype DHCP message type
397 struct sockaddr_in *peer, uint8_t msgtype,
408 dhcp_msgtype_name ( msgtype ), inet_ntoa ( peer->sin_addr ),
471 ( ( msgtype == DHCPOFFER ) || ( ! msgtype /* BOOT
395 dhcp_rx_offer( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
487 dhcp_discovery_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
595 dhcp_request_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
735 dhcp_proxy_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
893 dhcp_pxebs_rx( struct dhcp_session *dhcp, struct dhcp_packet *dhcppkt, struct sockaddr_in *peer, uint8_t msgtype, struct in_addr server_id ) argument
1035 dhcp_create_packet( struct dhcp_packet *dhcppkt, struct net_device *netdev, uint8_t msgtype, const void *options, size_t options_len, void *data, size_t max_len ) argument
1083 dhcp_create_request( struct dhcp_packet *dhcppkt, struct net_device *netdev, unsigned int msgtype, struct in_addr ciaddr, void *data, size_t max_len ) argument
1194 uint8_t msgtype = dhcp->state->tx_msgtype; local
1255 uint8_t msgtype = 0; local
[all...]
/external/toybox/toys/pending/
H A Ddhcp6.c98 uint8_t msgtype, transaction_id[3], options[524]; member in struct:dhcp6_msg_s
286 mesg.msgtype = type;
305 uint8_t *get_msg_ptr(uint8_t *data, int data_length, int msgtype) argument
310 if (type == msgtype) return data;
312 while (type != msgtype) {
318 if (type == msgtype) return data;
626 if (mymsg->dhcp6.msgtype == DHCP6ADVERTISE ) {
647 if (mymsg->dhcp6.msgtype == DHCP6REPLY) {
H A Ddhcp.c985 static int dhcpc_sendmsg(int msgtype) argument
1003 pend = dhcpc_addmsgtype(pend, msgtype);
1007 switch (msgtype) {
H A Ddhcpd.c157 uint8_t msgtype; member in struct:dhcp6_msg_s
971 if (gstate.rcvd.rcvd_pkt6.msgtype < 1) {
1030 gstate.send.send_pkt6.msgtype = opt;
1609 uint8_t *optptr, msgtype = 0; local
1681 msgtype = 0;
1742 memcpy(&gstate.rqcode, &gstate.rcvd.rcvd_pkt6.msgtype, sizeof(uint8_t));
2004 msgtype = DHCPOFFER;
2016 msgtype = DHCPNAK;
2017 optptr = set_optval(optptr, DHCP_OPT_MESSAGE_TYPE, &msgtype, 1);
2024 optptr = set_optval(optptr, DHCP_OPT_MESSAGE_TYPE, &msgtype,
[all...]

Completed in 423 milliseconds