cidr.h

来自「一个很好用的linux 下的流量监控软件」· C头文件 代码 · 共 21 行

H
21
字号
/* * cidr.h - prototypes for cidr.c * * Copyright (c) Gerard Paul Java 2003 * * This module contains functions that deal with CIDR address/mask notation. * * This module may be freely used for any purpose, commercial or otherwise, * In any product that uses this module, the following notice must appear: * *     Includes software developed by Gerard Paul Java *     Copyright (c) Gerard Paul Java 2003 */unsigned long cidr_get_mask(unsigned int maskbits);char *cidr_get_quad_mask(unsigned int maskbits);unsigned int cidr_get_maskbits(unsigned long mask);void cidr_split_address(char *cidr_addr, char *addresspart,                        unsigned int *maskbits);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?