/external/nanopb-c/examples/using_union_messages/ |
encode.c | 48 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);
|
/bionic/libc/kernel/uapi/scsi/ |
scsi_netlink.h | 30 uint16_t msgtype; member in struct:scsi_nl_hdr 50 #define INIT_SCSI_NL_HDR(hdr,t,mtype,mlen) { (hdr)->version = SCSI_NL_VERSION; (hdr)->transport = t; (hdr)->magic = SCSI_NL_MAGIC; (hdr)->msgtype = mtype; (hdr)->msglen = mlen; }
|
/external/kernel-headers/original/uapi/scsi/ |
scsi_netlink.h | 47 uint16_t msgtype; member in struct:scsi_nl_hdr 62 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */ 65 * GENERIC SCSI scsi_nl_hdr->msgtype Values 70 /* SCSI_NL_SHOST_VENDOR msgtype is kernel->user and user->kernel */ 119 (hdr)->msgtype = mtype; \
|
/external/syslinux/gpxe/src/net/udp/ |
dhcp.c | 124 * @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 /* BOOTP */ ) ) 1194 uint8_t msgtype = dhcp->state->tx_msgtype; local 1255 uint8_t msgtype = 0; local [all...] |
/external/libnl/lib/ |
cache_mngt.c | 111 static struct nl_cache_ops *__cache_ops_associate(int protocol, int msgtype) 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) 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) 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) [all...] |
/external/scapy/scapy/layers/ |
dhcp6.py | 643 ByteEnumField("msgtype", 11, { 5:"Renew Message", 940 msgtype = 1 variable in class:DHCP6_Solicit 953 msgtype = 2 variable in class:DHCP6_Advertise 980 msgtype = 3 variable in class:DHCP6_Request 992 msgtype = 4 variable in class:DHCP6_Confirm 1013 msgtype = 5 variable in class:DHCP6_Renew 1023 msgtype = 6 variable in class:DHCP6_Rebind 1050 msgtype = 7 variable in class:DHCP6_Reply 1069 msgtype = 8 variable in class:DHCP6_Release 1083 msgtype = 9 variable in class:DHCP6_Decline 1100 msgtype = 10 variable in class:DHCP6_Reconf 1118 msgtype = 11 variable in class:DHCP6_InfoRequest 1163 msgtype = 13 variable in class:DHCP6_RelayReply [all...] |
/external/wpa_supplicant_8/src/ap/ |
dhcp_snoop.c | 40 int res, msgtype = 0, prefixlen = 32; local 84 msgtype = opt[2]; 91 if (msgtype == DHCPACK) {
|
fils_hlp.c | 159 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) { 275 if (hapd->conf->dhcp_rapid_commit_proxy && msgtype == DHCPACK && 332 u8 msgtype = 0; local 374 msgtype = pos[0]; 383 wpa_printf(MSG_DEBUG, "FILS: HLP - DHCP message type %u", msgtype); 384 if (msgtype != DHCPDISCOVER [all...] |
wpa_auth_ft.c | 694 const char *msgtype, int no_defer) 703 RRB_GET_AUTH(FT_RRB_SEQ, seq, msgtype, sizeof(*msg_both)); 749 MACSTR, msgtype, MAC2STR(src_addr)); 754 msgtype, MAC2STR(src_addr)); 764 const char *msgtype) 773 RRB_GET_AUTH(FT_RRB_SEQ, seq, msgtype, sizeof(*msg_both)); 2622 const char *msgtype = "pull request"; local 2948 const char *msgtype = "pull response"; local 3001 const char *msgtype = "push"; local [all...] |
/kernel/tests/net/test/ |
netlink.py | 209 def _ParseNLMsg(self, data, msgtype): 218 nlmsg, data = cstruct.Read(data, msgtype) 227 def _GetMsg(self, msgtype): 231 return self._ParseNLMsg(data, msgtype)[0] 233 def _GetMsgList(self, msgtype, data, expect_done): 236 msg, data = self._ParseNLMsg(data, msgtype) 244 def _Dump(self, command, msg, msgtype, attrs): 250 msgtype: A cstruct.Struct, the data type to parse the dump results as. 254 A list of (msg, attrs) tuples where msg is of type msgtype and attrs is 279 out.extend(self._GetMsgList(msgtype, data, False) [all...] |
pf_key.py | 227 def MakeSadbMsg(self, msgtype, satype): 229 return SadbMsg((PF_KEY_V2, msgtype, 0, satype, 0, 0, 0, 0)) 268 msgtype = _GetConstantName(msg.type, "SADB_") 272 msg.version, msgtype, msg.errno, satype, msg.len,
|
/system/core/libsysutils/src/ |
NetlinkEvent.cpp | 176 const char *msgtype = rtMessageName(type); local 184 if (maybeLogDuplicateAttribute(*addrstr != '\0', "IFA_ADDRESS", msgtype)) 192 RTA_PAYLOAD(rta), msgtype); 200 RTA_PAYLOAD(rta), msgtype); 211 SLOGD("Unknown ifindex %d in %s", ifaddr->ifa_index, msgtype); 216 if (maybeLogDuplicateAttribute(cacheinfo, "IFA_CACHEINFO", msgtype)) 221 RTA_PAYLOAD(rta), sizeof(cacheinfo), msgtype); 230 SLOGE("No IFA_ADDRESS in %s\n", msgtype);
|
/external/syslinux/gpxe/src/include/gpxe/ |
dhcp.h | 618 struct net_device *netdev, uint8_t msgtype, 623 unsigned int msgtype, struct in_addr ciaddr,
|
/external/toybox/toys/pending/ |
dhcp6.c | 98 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) 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) {
|
dhcpd.c | 157 uint8_t msgtype; member in struct:dhcp6_msg_s 971 if (gstate.rcvd.rcvd_pkt6.msgtype < 1) { 1609 uint8_t *optptr, msgtype = 0; local [all...] |
dhcp.c | 984 // sends dhcp msg of MSGTYPE 985 static int dhcpc_sendmsg(int msgtype) 1003 pend = dhcpc_addmsgtype(pend, msgtype); 1007 switch (msgtype) { [all...] |
/external/tcpdump/ |
print-fr.c | 793 u_int msgtype; local 843 msgtype = *p; 922 "unknown message", msgtype), 923 msgtype, 928 "unknown message 0x%02x", msgtype)));
|
/external/curl/lib/ |
openldap.c | 477 int binary = 0, msgtype; local 480 msgtype = ldap_msgtype(ent); 481 if(msgtype == LDAP_RES_SEARCH_RESULT) { 507 else if(msgtype != LDAP_RES_SEARCH_ENTRY)
|
/external/scapy/scapy/layers/tls/ |
record_sslv2.py | 38 msgtype = orb(m[0]) 39 cls = _sslv2_handshake_cls.get(msgtype, Raw)
|
extensions.py | 651 cls = _tls_ext_keyshare_cls.get(pkt.msgtype, TLS_Ext_Unknown) 654 cls = _tls_ext_presharedkey_cls.get(pkt.msgtype, TLS_Ext_Unknown)
|
record.py | 86 msgtype = orb(m[0]) 87 cls = _tls_handshake_cls.get(msgtype, Raw) 688 fields_desc = [ ByteEnumField("msgtype", 1, _tls_changecipherspec_type) ]
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
srv.h | 311 int __cdecl srv_sendmsg(SRV_PROC *srvproc,int msgtype,__LONG32 msgnum,BYTE msgclass,BYTE state,char *rpcname,int rpcnamelen,USHORT linenum,char *message,int msglen);
|
/external/autotest/server/ |
server_job.py | [all...] |