Lines Matching refs:u_char
201 pcap_oneshot(u_char *user, const struct pcap_pkthdr *h, const u_char *pkt)
209 const u_char *
213 const u_char *pkt;
218 if (pcap_dispatch(p, 1, p->oneshot_callback, (u_char *)&s) <= 0)
225 const u_char **pkt_data)
241 (u_char *)&s);
270 return (p->read_op(p, 1, p->oneshot_callback, (u_char *)&s));
836 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
845 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
852 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
1023 static const u_char charmap[] = {
1024 (u_char)'\000', (u_char)'\001', (u_char)'\002', (u_char)'\003',
1025 (u_char)'\004', (u_char)'\005', (u_char)'\006', (u_char)'\007',
1026 (u_char)'\010', (u_char)'\011', (u_char)'\012', (u_char)'\013',
1027 (u_char)'\014', (u_char)'\015', (u_char)'\016', (u_char)'\017',
1028 (u_char)'\020', (u_char)'\021', (u_char)'\022', (u_char)'\023',
1029 (u_char)'\024', (u_char)'\025', (u_char)'\026', (u_char)'\027',
1030 (u_char)'\030', (u_char)'\031', (u_char)'\032', (u_char)'\033',
1031 (u_char)'\034', (u_char)'\035', (u_char)'\036', (u_char)'\037',
1032 (u_char)'\040', (u_char)'\041', (u_char)'\042', (u_char)'\043',
1033 (u_char)'\044', (u_char)'\045', (u_char)'\046', (u_char)'\047',
1034 (u_char)'\050', (u_char)'\051', (u_char)'\052', (u_char)'\053',
1035 (u_char)'\054', (u_char)'\055', (u_char)'\056', (u_char)'\057',
1036 (u_char)'\060', (u_char)'\061', (u_char)'\062', (u_char)'\063',
1037 (u_char)'\064', (u_char)'\065', (u_char)'\066', (u_char)'\067',
1038 (u_char)'\070', (u_char)'\071', (u_char)'\072', (u_char)'\073',
1039 (u_char)'\074', (u_char)'\075', (u_char)'\076', (u_char)'\077',
1040 (u_char)'\100', (u_char)'\141', (u_char)'\142', (u_char)'\143',
1041 (u_char)'\144', (u_char)'\145', (u_char)'\146', (u_char)'\147',
1042 (u_char)'\150', (u_char)'\151', (u_char)'\152', (u_char)'\153',
1043 (u_char)'\154', (u_char)'\155', (u_char)'\156', (u_char)'\157',
1044 (u_char)'\160', (u_char)'\161', (u_char)'\162', (u_char)'\163',
1045 (u_char)'\164', (u_char)'\165', (u_char)'\166', (u_char)'\167',
1046 (u_char)'\170', (u_char)'\171', (u_char)'\172', (u_char)'\133',
1047 (u_char)'\134', (u_char)'\135', (u_char)'\136', (u_char)'\137',
1048 (u_char)'\140', (u_char)'\141', (u_char)'\142', (u_char)'\143',
1049 (u_char)'\144', (u_char)'\145', (u_char)'\146', (u_char)'\147',
1050 (u_char)'\150', (u_char)'\151', (u_char)'\152', (u_char)'\153',
1051 (u_char)'\154', (u_char)'\155', (u_char)'\156', (u_char)'\157',
1052 (u_char)'\160', (u_char)'\161', (u_char)'\162', (u_char)'\163',
1053 (u_char)'\164', (u_char)'\165', (u_char)'\166', (u_char)'\167',
1054 (u_char)'\170', (u_char)'\171', (u_char)'\172', (u_char)'\173',
1055 (u_char)'\174', (u_char)'\175', (u_char)'\176', (u_char)'\177',
1056 (u_char)'\200', (u_char)'\201', (u_char)'\202', (u_char)'\203',
1057 (u_char)'\204', (u_char)'\205', (u_char)'\206', (u_char)'\207',
1058 (u_char)'\210', (u_char)'\211', (u_char)'\212', (u_char)'\213',
1059 (u_char)'\214', (u_char)'\215', (u_char)'\216', (u_char)'\217',
1060 (u_char)'\220', (u_char)'\221', (u_char)'\222', (u_char)'\223',
1061 (u_char)'\224', (u_char)'\225', (u_char)'\226', (u_char)'\227',
1062 (u_char)'\230', (u_char)'\231', (u_char)'\232', (u_char)'\233',
1063 (u_char)'\234', (u_char)'\235', (u_char)'\236', (u_char)'\237',
1064 (u_char)'\240', (u_char)'\241', (u_char)'\242', (u_char)'\243',
1065 (u_char)'\244', (u_char)'\245', (u_char)'\246', (u_char)'\247',
1066 (u_char)'\250', (u_char)'\251', (u_char)'\252', (u_char)'\253',
1067 (u_char)'\254', (u_char)'\255', (u_char)'\256', (u_char)'\257',
1068 (u_char)'\260', (u_char)'\261', (u_char)'\262', (u_char)'\263',
1069 (u_char)'\264', (u_char)'\265', (u_char)'\266', (u_char)'\267',
1070 (u_char)'\270', (u_char)'\271', (u_char)'\272', (u_char)'\273',
1071 (u_char)'\274', (u_char)'\275', (u_char)'\276', (u_char)'\277',
1072 (u_char)'\300', (u_char)'\341', (u_char)'\342', (u_char)'\343',
1073 (u_char)'\344', (u_char)'\345', (u_char)'\346', (u_char)'\347',
1074 (u_char)'\350', (u_char)'\351', (u_char)'\352', (u_char)'\353',
1075 (u_char)'\354', (u_char)'\355', (u_char)'\356', (u_char)'\357',
1076 (u_char)'\360', (u_char)'\361', (u_char)'\362', (u_char)'\363',
1077 (u_char)'\364', (u_char)'\365', (u_char)'\366', (u_char)'\367',
1078 (u_char)'\370', (u_char)'\371', (u_char)'\372', (u_char)'\333',
1079 (u_char)'\334', (u_char)'\335', (u_char)'\336', (u_char)'\337',
1080 (u_char)'\340', (u_char)'\341', (u_char)'\342', (u_char)'\343',
1081 (u_char)'\344', (u_char)'\345', (u_char)'\346', (u_char)'\347',
1082 (u_char)'\350', (u_char)'\351', (u_char)'\352', (u_char)'\353',
1083 (u_char)'\354', (u_char)'\355', (u_char)'\356', (u_char)'\357',
1084 (u_char)'\360', (u_char)'\361', (u_char)'\362', (u_char)'\363',
1085 (u_char)'\364', (u_char)'\365', (u_char)'\366', (u_char)'\367',
1086 (u_char)'\370', (u_char)'\371', (u_char)'\372', (u_char)'\373',
1087 (u_char)'\374', (u_char)'\375', (u_char)'\376', (u_char)'\377',
1093 register const u_char *cm = charmap,
1094 *us1 = (const u_char *)s1,
1095 *us2 = (const u_char *)s2;
1867 pcap_sendpacket(pcap_t *p, const u_char *buf, int size)
1901 const u_char *pkt)