summaryrefslogtreecommitdiff
path: root/ctdb/common/system_socket.c
AgeCommit message (Expand)AuthorFilesLines
2024-10-07ctdb-common: Reimplement ctdb_sys_have_ip() using new infrastructureMartin Schwenke1-4/+23
2024-10-07ctdb-common: Make the argument to ctdb_sys_have_ip() constMartin Schwenke1-1/+1
2024-10-07ctdb-common: Add functions for local IP address checkingMartin Schwenke1-0/+76
2023-08-15ctdb-common: Set immediate mode for pcap captureMartin Schwenke1-0/+7
2023-08-15ctdb-common: Replace pcap_open_live() by lower level callsMartin Schwenke1-1/+25
2023-08-15ctdb-common: Improve error handlingMartin Schwenke1-3/+6
2022-09-20ctdb-common: Support IB in pcap-based captureMartin Schwenke1-0/+2
2022-09-20ctdb-common: Support "any" interface for pcap-based captureMartin Schwenke1-1/+49
2022-09-20ctdb-common: Add packet type detection to pcap-based captureMartin Schwenke1-18/+49
2022-09-20ctdb-common: Improve/add debugMartin Schwenke1-2/+6
2022-09-20ctdb-common: Use pcap_get_selectable_fd()Martin Schwenke1-1/+1
2022-09-20ctdb-common: Stop a pcap-related crash on errorMartin Schwenke1-2/+5
2022-09-20ctdb-common: Fix a warning in the pcap codeMartin Schwenke1-2/+2
2022-09-20ctdb-common: Do not use raw socket when ENABLE_PCAP is definedMartin Schwenke1-3/+3
2022-09-20ctdb-common: Move a misplaced commentMartin Schwenke1-7/+6
2020-10-21ctdb-common: Avoid aliasing errors during code optimizationAmitay Isaacs1-14/+17
2019-09-01Spelling fixes s/advertisment/advertisement/Mathieu Parent1-1/+1
2019-07-05ctdb-common: Fix error handlingMartin Schwenke1-4/+14
2019-01-28ctdb:common: Use C99 initializer for 'struct ifreq'Andreas Schneider1-2/+10
2018-08-30ctdb-common: Clean up comments in TCP packet parsingMartin Schwenke1-10/+4
2018-08-30ctdb-common: Check the version field in IPv6 packetsMartin Schwenke1-0/+5
2018-08-30ctdb-common: Improve TCP packet size and offset calculationsMartin Schwenke1-5/+7
2018-08-30ctdb-common: Factor out TCP packet parsing codeMartin Schwenke1-147/+149
2018-08-30ctdb-common: Clean up types/declarations in TCP socket readingMartin Schwenke1-7/+6
2018-08-30ctdb-common: Fix error handling when parsing TCP packetsMartin Schwenke1-14/+14
2018-08-30ctdb-common: Fix a bug in non-Linux (PCAP) TCP packet capturingMartin Schwenke1-1/+1
2018-08-30ctdb-common: Don't modify a const argumentMartin Schwenke1-11/+9
2018-08-30ctdb-common: Avoid magic numbers when building TCP packetsMartin Schwenke1-5/+5
2018-08-30ctdb-common: Factor out TCP packet marshalling codeMartin Schwenke1-59/+151
2018-08-30ctdb-common: Avoid single line multi-assignmentMartin Schwenke1-1/+2
2018-08-30ctdb-common: Set version more obviously in IPv6 NA packetMartin Schwenke1-1/+1
2018-08-30ctdb-common: Clarify offset and packet length calculationsMartin Schwenke1-8/+18
2018-08-30ctdb-common: Use struct ether_arp to avoid manual offset calculationsMartin Schwenke1-20/+11
2018-08-30ctdb-common: Be more careful with packet sizesMartin Schwenke1-2/+7
2018-08-30ctdb-common: Separate ARP and IPv6 NA marshalling codeMartin Schwenke1-93/+208
2018-08-30ctdb-common: Fix error handling when sending ARPsMartin Schwenke1-25/+30
2018-08-30ctdb-common: Factor out common ARP codeMartin Schwenke1-77/+42
2018-08-30ctdb-common: Initialise structures when declaredMartin Schwenke1-7/+3
2018-08-30ctdb-common: Restore dropped copyright attributionsMartin Schwenke1-0/+2
2018-08-30ctdb-common: Fix CID 1414745 - Out-of-bounds accessMartin Schwenke1-1/+4
2018-08-24ctdb-common: Fix aliasing issue in IPv6 checksumMartin Schwenke1-4/+8
2018-07-28ctdb-common: Fix the TCP packet length checkAmitay Isaacs1-1/+1
2018-07-27ctdb-common: Drop function parse_ip_mask() and supporting functionsMartin Schwenke1-135/+0
2018-07-27ctdb-common: Fix compilation issue with strncpy()Martin Schwenke1-3/+1
2018-07-02ctdb-common: Move capture_socket functions to ctdb_socket.[ch]Martin Schwenke1-0/+295
2018-07-02ctdb-common: Move ctdb_sys_send_tcp() to ctdb_socket.[ch]Martin Schwenke1-1/+183
2018-07-02ctdb-common: Move ctdb_sys_send_arp() to ctdb_socket.[ch]Martin Schwenke1-1/+281
2018-07-02ctdb-common: Move parse_ip_mask() to system_socket.[ch]Martin Schwenke1-0/+137
2018-07-02ctdb-common: Rename system utility filesMartin Schwenke1-0/+80