Lines Matching defs:family

62 	{B_STRING_TYPE, "family", NULL, true, new InterfaceAddressFamilyConverter},
114 {B_STRING_TYPE, "family", NULL, true},
129 {B_STRING_TYPE, "family", NULL},
144 int family;
166 get_family_name(int family)
168 for (int32 i = 0; kFamilies[i].family >= 0; i++) {
169 if (kFamilies[i].family == family)
179 for (int32 i = 0; kFamilies[i].family >= 0; i++) {
183 return kFamilies[i].family;
192 /*! Parses the \a argument as network \a address for the specified \a family.
193 If \a family is \c AF_UNSPEC, \a family will be overwritten with the family
197 parse_address(int32& family, const char* argument, BNetworkAddress& address)
200 if (family != AF_UNSPEC)
201 address.SetToWildcard(family);
205 status_t status = address.SetTo(family, argument, (uint16)0,
210 if (family == AF_UNSPEC) {
211 // Test if we support the resulting address family
214 for (int32 i = 0; kFamilies[i].family >= 0; i++) {
215 if (kFamilies[i].family == address.Family()) {
223 // Take over family from address
224 family = address.Family();
283 int32 family;
284 if (source.FindInt32("family", &family) == B_OK) {
285 const char* familyName = get_family_name(family);
289 value << family;
911 if (data.FindInt32("family", &fFamily) != B_OK) {
913 if (data.FindString("family", &familyString) == B_OK) {
916 // we don't support this family
917 fprintf(stderr, "Ignore unknown family: %s\n",
965 BNetworkInterfaceAddressSettings::SetFamily(int family)
967 fFamily = family;
1060 status = data.SetInt32("family", fFamily);
1207 BNetworkInterfaceSettings::FindFirstAddress(int family) const
1211 if (address.Family() == family)
1241 BNetworkInterfaceSettings::IsAutoConfigure(int family) const
1251 int32 index = interface.FindFirstAddress(family);
1259 int32 index = FindFirstAddress(family);
1310 if (data.FindInt32("family", &fFamily) != B_OK) {
1312 if (data.FindString("family", &familyString) == B_OK) {
1315 // we don't support this family
1316 fprintf(stderr, "Ignore unknown family: %s\n",
1357 BNetworkServiceAddressSettings::SetFamily(int family)
1359 fFamily = family;
1451 // Default family/port/protocol/type for all addresses
1455 if (message.FindString("family", &string) != B_OK)
1506 // no address specified, but family/port were given; add empty address
1583 BNetworkServiceSettings::SetFamily(int family)
1585 fFamily = family;
1717 status = data.SetInt32("family", fFamily);