Greenbone Vulnerability Management Libraries: base/networking_tests.c File Reference

Greenbone Vulnerability Management Libraries 23.7.0

Functions
networking_tests.c File Reference
`#include "networking.c"`
`#include <cgreen/cgreen.h>`
`#include <cgreen/mocks.h>`

## Functions
| Describe (networking)
| BeforeEach (networking)
| AfterEach (networking)
| Ensure (networking, validate_port_range)
| Ensure (networking, port_range_ranges)
| Ensure (networking, port_in_port_ranges)
| Ensure (networking, ip_islocalhost)
| __attribute__ ((weak))
| Ensure (networking, get_routes)
| Ensure (networking, gvm_routethrough_v4)
| Ensure (networking, gvm_source_addr)
static TestSuite * | gvm_routethough ()
int | main (int argc, char **argv)

## Function Documentation

## ◆ __attribute__()

__attribute__ | ( | (weak) |  | ) |

## ◆ AfterEach()

AfterEach | ( | networking |  | ) |

## ◆ BeforeEach()

BeforeEach | ( | networking |  | ) |

## ◆ Describe()

Describe | ( | networking |  | ) |

## ◆ Ensure() [1/7]

Ensure | ( | networking | ,
|  | get_routes | )

## ◆ Ensure() [2/7]

Ensure | ( | networking | ,
|  | gvm_routethrough_v4 | )

## ◆ Ensure() [3/7]

Ensure | ( | networking | ,
|  | gvm_source_addr | )

## ◆ Ensure() [4/7]

Ensure | ( | networking | ,
|  | ip_islocalhost | )

## ◆ Ensure() [5/7]

Ensure | ( | networking | ,
|  | port_in_port_ranges | )

## ◆ Ensure() [6/7]

Ensure | ( | networking | ,
|  | port_range_ranges | )

## ◆ Ensure() [7/7]

Ensure | ( | networking | ,
|  | validate_port_range | )

## ◆ gvm_routethough()

TestSuite * gvm_routethough | ( |  | ) |
| static

## ◆ main()

int main | ( | int | argc,
|  | char ** | argv )