19 #ifndef NASL_PACKET_FORGERY_H
tree_cell * nasl_pcap_next(lex_ctxt *)
Listen to one packet and return it.
Definition: nasl_packet_forgery.c:2345
tree_cell * dump_ip_packet(lex_ctxt *)
Dump IP datagrams.
Definition: nasl_packet_forgery.c:443
tree_cell * get_tcp_element(lex_ctxt *)
Extracts TCP field from an IP datagram.
Definition: nasl_packet_forgery.c:661
tree_cell * nasl_send_packet(lex_ctxt *)
Send a list of packets (passed as unnamed arguments) and listens to the answers. It returns a block m...
Definition: nasl_packet_forgery.c:2209
tree_cell * dump_tcp_packet(lex_ctxt *)
Dump the TCP part of a IP Datagram.
Definition: nasl_packet_forgery.c:1313
tree_cell * forge_udp_packet(lex_ctxt *)
Fills an IP datagram with UDP data. Note that the ip_p field is not updated. It returns the modified ...
Definition: nasl_packet_forgery.c:1460
tree_cell * set_tcp_elements(lex_ctxt *)
Modify the TCP fields of a datagram.
Definition: nasl_packet_forgery.c:938
tree_cell * get_tcp_option(lex_ctxt *)
Get a TCP option from an IP datagram if present. Possible options are: TCPOPT_MAXSEG (2),...
Definition: nasl_packet_forgery.c:811
tree_cell * set_ip_elements(lex_ctxt *)
Modify the fields of a datagram.
Definition: nasl_packet_forgery.c:311
tree_cell * nasl_tcp_ping(lex_ctxt *)
Lunches a âTCP pingâ against the target host.
Definition: nasl_packet_forgery.c:2055
tree_cell * insert_ip_options(lex_ctxt *)
Add option datagram.
Definition: nasl_packet_forgery.c:366
tree_cell * forge_icmp_packet(lex_ctxt *)
Fill an IP datagram with ICMP data.
Definition: nasl_packet_forgery.c:1787
tree_cell * insert_tcp_options(lex_ctxt *)
Add options to a TCP segment header. Possible options are: TCPOPT_MAXSEG (2), values between 536 and ...
Definition: nasl_packet_forgery.c:1051
tree_cell * forge_tcp_packet(lex_ctxt *)
Fills an IP datagram with TCP data. Note that the ip_p field is not updated. It returns the modified ...
Definition: nasl_packet_forgery.c:564
tree_cell * get_udp_element(lex_ctxt *)
Get an UDP element from a IP datagram.
Definition: nasl_packet_forgery.c:1553
tree_cell * forge_igmp_packet(lex_ctxt *)
Fills an IP datagram with IGMP data.
Definition: nasl_packet_forgery.c:1981
tree_cell * dump_icmp_packet(lex_ctxt *)
Dump the ICMP part of a IP Datagram.
Definition: nasl_packet_forgery.c:1935
tree_cell * get_ip_element(lex_ctxt *)
Extracts a field from an IP datagram.
Definition: nasl_packet_forgery.c:192
tree_cell * nasl_send_capture(lex_ctxt *)
Send a capture.
Definition: nasl_packet_forgery.c:2495
tree_cell * forge_ip_packet(lex_ctxt *)
Forge an IP datagram.
Definition: nasl_packet_forgery.c:113
tree_cell * set_udp_elements(lex_ctxt *)
Modify UDP fields of an IP datagram.
Definition: nasl_packet_forgery.c:1629
tree_cell * get_icmp_element(lex_ctxt *)
Get an ICMP element from a IP datagram.
Definition: nasl_packet_forgery.c:1863
tree_cell * dump_udp_packet(lex_ctxt *)
Dump the UDP part of a IP Datagram.
Definition: nasl_packet_forgery.c:1741
Definition: nasl_tree.h:105
Definition: nasl_lex_ctxt.h:34