Home
last modified time | relevance | path

Searched refs:pkt_name (Results 1 – 25 of 30) sorted by relevance

12

/dports/news/fidogate4/fidogate-4.4.10/src/areafix/
H A Dpkttmpl.c187 int do_file(char *pkt_name) in do_file() argument
194 pkt_file = fopen(pkt_name, R_MODE); in do_file()
197 rename_bad(pkt_name); in do_file()
204 rename_bad(pkt_name); in do_file()
209 pkt_size = check_size(pkt_name); in do_file()
217 rename_bad(pkt_name); in do_file()
223 if (unlink(pkt_name)) { in do_file()
225 rename_bad(pkt_name); in do_file()
301 char *pkt_name; in main() local
409 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
H A Dftnafpkt.c229 int do_file(char *pkt_name) in do_file() argument
236 pkt_file = fopen(pkt_name, R_MODE); in do_file()
239 rename_bad(pkt_name); in do_file()
246 rename_bad(pkt_name); in do_file()
251 pkt_size = check_size(pkt_name); in do_file()
259 rename_bad(pkt_name); in do_file()
265 if (unlink(pkt_name)) { in do_file()
267 rename_bad(pkt_name); in do_file()
347 char *pkt_name; in main() local
476 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
/dports/news/fidogate/fidogate-5.10-3-g1c1fd41/src/areafix/
H A Dpkttmpl.c155 int do_file(char *pkt_name) in do_file() argument
162 pkt_file = fopen(pkt_name, R_MODE); in do_file()
165 rename_bad(pkt_name); in do_file()
171 rename_bad(pkt_name); in do_file()
176 pkt_size = check_size(pkt_name); in do_file()
183 rename_bad(pkt_name); in do_file()
189 if (unlink(pkt_name)) { in do_file()
191 rename_bad(pkt_name); in do_file()
261 char *pkt_name; in main() local
368 for (pkt_name = dir_get(TRUE); pkt_name; pkt_name = dir_get(FALSE)) { in main()
[all …]
H A Dftnafpkt.c262 int do_file(char *pkt_name) in do_file() argument
269 pkt_file = fopen(pkt_name, R_MODE); in do_file()
272 rename_bad(pkt_name); in do_file()
278 rename_bad(pkt_name); in do_file()
283 pkt_size = check_size(pkt_name); in do_file()
290 rename_bad(pkt_name); in do_file()
296 if (unlink(pkt_name)) { in do_file()
298 rename_bad(pkt_name); in do_file()
374 char *pkt_name; in main() local
537 for (pkt_name = dir_get(TRUE); pkt_name; pkt_name = dir_get(FALSE)) { in main()
[all …]
/dports/news/fidogate4/fidogate-4.4.10/src/toss/
H A Dftnroute.c416 logit("$ERROR: can't close packet %s", pkt_name); in do_packet()
421 if (unlink(pkt_name)) { in do_packet()
434 int do_file(char *pkt_name) in do_file() argument
442 pkt_file = fopen(pkt_name, R_MODE); in do_file()
444 logit("$ERROR: can't open packet %s", pkt_name); in do_file()
449 logit("ERROR: reading header from %s", pkt_name); in do_file()
456 if(do_routing(pkt_name, pkt_file, &pkt) == ERROR) in do_file()
458 logit("ERROR: in processing %s", pkt_name); in do_file()
538 char *pkt_name; in main() local
674 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
H A Dftn2ftn.c217 int unpack_file(Node *gate, char *pkt_name) in unpack_file() argument
222 debug(1, "Unpacking FTN packet %s", pkt_name); in unpack_file()
227 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
229 logit("$Can't open packet %s", pkt_name); in unpack_file()
234 logit("Error reading header from %s", pkt_name); in unpack_file()
243 logit("Error in unpacking %s", pkt_name); in unpack_file()
249 if (unlink(pkt_name)) { in unpack_file()
250 logit("$Could not unlink packet %s", pkt_name); in unpack_file()
H A Dftnpack.c670 logit("$ERROR: writing packet %s", pkt_name()); in do_noarc()
681 logit("$ERROR: writing packet %s", pkt_name()); in do_noarc()
965 int do_file(char *pkt_name) in do_file() argument
981 pkt_file = fopen(pkt_name, R_MODE); in do_file()
983 logit("$ERROR: can't open packet %s", pkt_name); in do_file()
988 logit("ERROR: reading header from %s", pkt_name); in do_file()
994 if(do_packing(pkt_name, pkt_file, &pkt) == ERROR) in do_file()
996 logit("ERROR: processing %s", pkt_name); in do_file()
1080 char *pkt_name; in main() local
1252 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
H A Dftntoss.c1431 int unpack_file(char *pkt_name) in unpack_file() argument
1448 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
1451 rename_bad(pkt_name); in unpack_file()
1458 rename_bad(pkt_name); in unpack_file()
1463 pkt_size = check_size(pkt_name); in unpack_file()
1473 rename_bad(pkt_name); in unpack_file()
1479 if (unlink(pkt_name)) { in unpack_file()
1481 rename_bad(pkt_name); in unpack_file()
1569 char *pkt_name; in main() local
1865 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
/dports/news/fidogate/fidogate-5.10-3-g1c1fd41/src/toss/
H A Dftnroute.c688 if (ret == OK && *pkt_name != '\0') in do_packet()
689 if (unlink(pkt_name)) { in do_packet()
700 int do_file(char *pkt_name) in do_file() argument
708 pkt_file = fopen(pkt_name, R_MODE); in do_file()
734 char *pkt_name; in do_repack() local
748 for (pkt_name = dir_get_mtime(now, TRUE); pkt_name; in do_repack()
751 BUF_COPY(buf, pkt_name); in do_repack()
767 rename(pkt_name, buf); in do_repack()
853 char *pkt_name; in main() local
1067 for (pkt_name = dir_get(TRUE); pkt_name; pkt_name = dir_get(FALSE)) in main()
[all …]
H A Dftn2ftn.c197 int unpack_file(Node * gate, char *pkt_name) in unpack_file() argument
202 debug(1, "Unpacking FTN packet %s", pkt_name); in unpack_file()
207 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
209 fglog("$Can't open packet %s", pkt_name); in unpack_file()
214 fglog("Error reading header from %s", pkt_name); in unpack_file()
224 fglog("Error in unpacking %s", pkt_name); in unpack_file()
231 if (unlink(pkt_name)) { in unpack_file()
232 fglog("$Could not unlink packet %s", pkt_name); in unpack_file()
H A Dftnpack.c695 fglog("$ERROR: writing packet %s", pkt_name()); in do_noarc()
705 fglog("$ERROR: writing packet %s", pkt_name()); in do_noarc()
948 int do_file(char *pkt_name) in do_file() argument
954 pkt_file = fopen(pkt_name, R_MODE); in do_file()
956 fglog("$ERROR: can't open packet %s", pkt_name); in do_file()
960 fglog("ERROR: reading header from %s", pkt_name); in do_file()
965 if (do_packing(pkt_name, pkt_file, &pkt) == ERROR) { in do_file()
966 fglog("ERROR: processing %s", pkt_name); in do_file()
1043 char *pkt_name; in main() local
1198 for (pkt_name = dir_get(TRUE); pkt_name; pkt_name = dir_get(FALSE)) { in main()
[all …]
H A Dftntoss.c1613 int unpack_file(char *pkt_name) in unpack_file() argument
1631 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
1634 rename_bad(pkt_name); in unpack_file()
1640 rename_bad(pkt_name); in unpack_file()
1645 pkt_size = check_size(pkt_name); in unpack_file()
1652 fglog("ERROR: processing %s", pkt_name); in unpack_file()
1654 rename_bad(pkt_name); in unpack_file()
1660 if (unlink(pkt_name)) { in unpack_file()
1662 rename_bad(pkt_name); in unpack_file()
1746 char *pkt_name; in main() local
[all …]
/dports/news/fidogate4/fidogate-4.4.10/src/gate/
H A Dftn2rfc.c1255 int unpack_file(char *pkt_name) in unpack_file() argument
1261 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
1268 rename_bad(pkt_name); in unpack_file()
1279 rename_bad(pkt_name); in unpack_file()
1285 logit("packet %s (%ldb) from %s to %s", pkt_name, check_size(pkt_name), in unpack_file()
1290 logit("ERROR: processing %s", pkt_name); in unpack_file()
1295 rename_bad(pkt_name); in unpack_file()
1304 rename_bad(pkt_name); in unpack_file()
1359 char *pkt_name; in main() local
1640 for(pkt_name=dir_get(TRUE); pkt_name; pkt_name=dir_get(FALSE)) in main()
[all …]
/dports/news/fidogate/fidogate-5.10-3-g1c1fd41/src/gate/
H A Dftn2rfc.c1688 int unpack_file(char *pkt_name) in unpack_file() argument
1694 pkt_file = fopen(pkt_name, R_MODE); in unpack_file()
1700 rename_bad(pkt_name); in unpack_file()
1709 rename_bad(pkt_name); in unpack_file()
1715 fglog("packet %s (%ldb) from %s to %s", pkt_name, check_size(pkt_name), in unpack_file()
1723 rename_bad(pkt_name); in unpack_file()
1730 if (!n_flag && unlink(pkt_name) == ERROR) { in unpack_file()
1732 rename_bad(pkt_name); in unpack_file()
1780 char *pkt_name; in main() local
2054 for (pkt_name = dir_get(TRUE); pkt_name; pkt_name = dir_get(FALSE)) { in main()
[all …]
/dports/net/wireshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-soupbintcp.c135 const char *pkt_name;
158 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)");
164 col_add_str(pinfo->cinfo, COL_INFO, pkt_name);
254 proto_item_append_text(ti, ", %s", pkt_name);
H A Dpacket-ouch.c421 const char *pkt_name; in dissect_ouch() local
449 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_ouch()
455 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_ouch()
466 proto_item_append_text(ti, ", %s", pkt_name); in dissect_ouch()
H A Dpacket-gadu-gadu.c1822 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_recv); in dissect_gadu_gadu_pdu() local
1824 if (pkt_name) in dissect_gadu_gadu_pdu()
1825 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()
1946 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_send); in dissect_gadu_gadu_pdu() local
1948 if (pkt_name) in dissect_gadu_gadu_pdu()
1949 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()
/dports/net/wireshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-soupbintcp.c135 const char *pkt_name; in dissect_soupbintcp_common() local
158 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_soupbintcp_common()
164 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_soupbintcp_common()
254 proto_item_append_text(ti, ", %s", pkt_name); in dissect_soupbintcp_common()
H A Dpacket-ouch.c421 const char *pkt_name; in dissect_ouch() local
449 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_ouch()
455 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_ouch()
466 proto_item_append_text(ti, ", %s", pkt_name); in dissect_ouch()
H A Dpacket-gadu-gadu.c1822 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_recv); in dissect_gadu_gadu_pdu() local
1824 if (pkt_name) in dissect_gadu_gadu_pdu()
1825 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()
1946 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_send); in dissect_gadu_gadu_pdu() local
1948 if (pkt_name) in dissect_gadu_gadu_pdu()
1949 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()
/dports/net/tshark/wireshark-3.6.1/epan/dissectors/
H A Dpacket-soupbintcp.c135 const char *pkt_name; in dissect_soupbintcp_common() local
158 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_soupbintcp_common()
164 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_soupbintcp_common()
254 proto_item_append_text(ti, ", %s", pkt_name); in dissect_soupbintcp_common()
H A Dpacket-ouch.c421 const char *pkt_name; in dissect_ouch() local
449 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_ouch()
455 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_ouch()
466 proto_item_append_text(ti, ", %s", pkt_name); in dissect_ouch()
/dports/net/tshark-lite/wireshark-3.6.1/epan/dissectors/
H A Dpacket-soupbintcp.c135 const char *pkt_name; in dissect_soupbintcp_common() local
158 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_soupbintcp_common()
164 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_soupbintcp_common()
254 proto_item_append_text(ti, ", %s", pkt_name); in dissect_soupbintcp_common()
H A Dpacket-ouch.c421 const char *pkt_name; in dissect_ouch() local
449 pkt_name = val_to_str(pkt_type, pkt_type_val, "Unknown (%u)"); in dissect_ouch()
455 col_add_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_ouch()
466 proto_item_append_text(ti, ", %s", pkt_name); in dissect_ouch()
H A Dpacket-gadu-gadu.c1822 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_recv); in dissect_gadu_gadu_pdu() local
1824 if (pkt_name) in dissect_gadu_gadu_pdu()
1825 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()
1946 const char *pkt_name = try_val_to_str(pkt_type, gadu_gadu_packets_type_send); in dissect_gadu_gadu_pdu() local
1948 if (pkt_name) in dissect_gadu_gadu_pdu()
1949 col_set_str(pinfo->cinfo, COL_INFO, pkt_name); in dissect_gadu_gadu_pdu()

12