Lines Matching refs:poll
1141 struct POLL_DETAILS *poll;
1147 poll = (struct POLL_DETAILS *) cmd_buf;
1148 memset( poll, 0, sizeof( struct POLL_DETAILS));
1153 poll->type = htons(type);
1155 user_host_len = sizeof( poll -> extensions.type2.user_host);
1164 charTo2byte(poll->extensions.type1.user_host, user_host, user_host_len);
1168 poll->extensions.type2.dialog = htonl(device[devno].dialog);
1169 charTo2byte(poll->extensions.type2.user_host, user_host, user_host_len);
1170 poll->extensions.type2.unknown_1 = htonl(0x14);
1171 poll->extensions.type2.unknown_2 = htonl(0x10);
1173 strftime (poll->extensions.type2.ascii_date,
1174 sizeof (poll->extensions.type2.ascii_date),
1179 poll->extensions.type5.dialog = htonl(device[devno].dialog);
1180 charTo2byte(poll->extensions.type5.user_host, user_host, user_host_len);
1181 poll->extensions.type5.unknown_1 = htonl(0x14);
1182 poll->extensions.type5.key = htonl(device[devno].status_key);
2640 /* we use only seonds (rounded up) accuracy between poll attempts */