netdb.h (146244) | netdb.h (146690) |
---|---|
1/*- 2 * Copyright (c) 1980, 1983, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50 * SOFTWARE. 51 * - 52 * --Copyright-- 53 */ 54 55/* 56 * @(#)netdb.h 8.1 (Berkeley) 6/2/93 57 * From: Id: netdb.h,v 8.9 1996/11/19 08:39:29 vixie Exp $ | 1/*- 2 * Copyright (c) 1980, 1983, 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 41 unchanged lines hidden (view full) --- 50 * SOFTWARE. 51 * - 52 * --Copyright-- 53 */ 54 55/* 56 * @(#)netdb.h 8.1 (Berkeley) 6/2/93 57 * From: Id: netdb.h,v 8.9 1996/11/19 08:39:29 vixie Exp $ |
58 * $FreeBSD: head/include/netdb.h 146244 2005-05-15 20:15:15Z ume $ | 58 * $FreeBSD: head/include/netdb.h 146690 2005-05-27 19:02:12Z ume $ |
59 */ 60 61#ifndef _NETDB_H_ 62#define _NETDB_H_ 63 64#include <sys/cdefs.h> 65#include <sys/_types.h> 66#include <machine/_limits.h> --- 168 unchanged lines hidden (view full) --- 235/* 236 * Flag values for getnameinfo() 237 */ 238#define NI_NOFQDN 0x00000001 239#define NI_NUMERICHOST 0x00000002 240#define NI_NAMEREQD 0x00000004 241#define NI_NUMERICSERV 0x00000008 242#define NI_DGRAM 0x00000010 | 59 */ 60 61#ifndef _NETDB_H_ 62#define _NETDB_H_ 63 64#include <sys/cdefs.h> 65#include <sys/_types.h> 66#include <machine/_limits.h> --- 168 unchanged lines hidden (view full) --- 235/* 236 * Flag values for getnameinfo() 237 */ 238#define NI_NOFQDN 0x00000001 239#define NI_NUMERICHOST 0x00000002 240#define NI_NAMEREQD 0x00000004 241#define NI_NUMERICSERV 0x00000008 242#define NI_DGRAM 0x00000010 |
243#if 1 /* obsolete */ | 243#if 0 /* obsolete */ |
244#define NI_WITHSCOPEID 0x00000020 245#endif 246 247/* 248 * Scope delimit character 249 */ 250#define SCOPE_DELIMITER '%' 251 --- 52 unchanged lines hidden --- | 244#define NI_WITHSCOPEID 0x00000020 245#endif 246 247/* 248 * Scope delimit character 249 */ 250#define SCOPE_DELIMITER '%' 251 --- 52 unchanged lines hidden --- |