Ticket #21225: patch-trigger.c.diff
File patch-trigger.c.diff, 647 bytes (added by hsivank@…, 15 years ago) |
---|
-
trigger.c
old new 276 276 } 277 277 278 278 void 279 trigger_ip(struct libnet_ip _hdr *ip)279 trigger_ip(struct libnet_ipv4_hdr *ip) 280 280 { 281 281 struct trigger *t, tr; 282 282 u_char *buf; … … 305 305 306 306 /* libnids needs a nids_register_udp()... */ 307 307 void 308 trigger_udp(struct libnet_ip _hdr *ip)308 trigger_udp(struct libnet_ipv4_hdr *ip) 309 309 { 310 310 struct trigger *t, tr; 311 311 struct libnet_udp_hdr *udp; … … 437 437 } 438 438 439 439 void 440 trigger_tcp_raw(struct libnet_ip _hdr *ip)440 trigger_tcp_raw(struct libnet_ipv4_hdr *ip) 441 441 { 442 442 struct trigger *t, tr; 443 443 struct libnet_tcp_hdr *tcp;