• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/net/

Lines Matching refs:NULL

519 	return (NULL);
522 if (m == NULL) {
523 return (NULL);
722 if (ifb->ifb_ifma_slow_proto != NULL) {
730 if (ifb->ifb_distributing_array != NULL) {
883 return (NULL);
932 if (b == NULL) {
933 return (NULL);
954 if (g_bond != NULL) {
962 ifp = NULL;
968 if (ifp != NULL) {
972 b = NULL;
973 if (ifp != NULL) {
977 if (g_bond != NULL) {
984 if (ifp == NULL) {
987 if (b == NULL) {
1002 if (vl_m == NULL) {
1014 vl_m->m_next = NULL;
1023 if (func != NULL) {
1043 if (func != NULL) {
1074 if (ifb == NULL || ifbond_flags_if_detaching(ifb)
1123 struct ifmultiaddr * ifma = NULL;
1157 if (ifb == NULL) {
1207 error = ifnet_attach(ifp, NULL);
1241 while ((p = TAILQ_LAST(&ifb->ifb_port_list, port_list)) != NULL) {
1278 if (ifb == NULL || ifnet_type(ifp) != IFT_IEEE8023ADLAG) {
1299 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
1305 ifb->ifb_bpf_input = ifb->ifb_bpf_output = NULL;
1347 if (m == NULL) {
1381 if (current == NULL) {
1391 if (next == NULL || (next->m_len + space_current) < (int)sizeof(uint32_t)) {
1428 if (m == NULL || m->m_len < 1) {
1471 if (m == NULL) {
1506 struct ifnet * port_ifp = NULL;
1536 if (ifb == NULL || ifbond_flags_if_detaching(ifb)
1571 return (NULL);
1582 if (port != NULL) {
1586 return (NULL);
1592 struct ifnet * bond_ifp = NULL;
1602 if (p == NULL) {
1614 event_code = (ifb->ifb_active_lag == NULL)
1622 event_code = (ifb->ifb_active_lag == NULL)
1637 if (bond_ifp != NULL) {
1660 if (p == NULL || p->po_enabled == 0
1701 if (m == NULL) {
1723 if (m == NULL) {
1743 if (p == NULL || bondport_collecting(p) == 0) {
1820 struct ifnet * bond_ifp = NULL;
1824 event_code = (p->po_bond->ifb_active_lag == NULL)
1832 event_code = (p->po_bond->ifb_active_lag == NULL)
1846 if (bond_ifp != NULL) {
1866 bondport_ref p = NULL;
1871 if (p == NULL) {
1873 return (NULL);
1895 if (p->po_current_while_timer == NULL) {
1900 if (p->po_periodic_timer == NULL) {
1905 if (p->po_wait_while_timer == NULL) {
1910 if (p->po_transmit_timer == NULL) {
1930 return (NULL);
1936 bondport_receive_machine(p, LAEventStart, NULL);
1937 bondport_mux_machine(p, LAEventStart, NULL);
1938 bondport_periodic_transmit_machine(p, LAEventStart, NULL);
1939 bondport_transmit_machine(p, LAEventStart, NULL);
2003 bondport_ref * new_array = NULL;
2004 bondport_ref * old_array = NULL;
2010 if (p == NULL) {
2015 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2018 return ((ifb == NULL ? EOPNOTSUPP : EBUSY));
2043 if (bond_lookup_port(port_ifp) != NULL) {
2116 if (new_array == NULL) {
2151 error = ifnet_ioctl(port_ifp, 0, SIOCSIFFLAGS, NULL);
2187 event_code = (ifb->ifb_active_lag == NULL)
2211 if (old_array != NULL) {
2221 ifnet_set_lladdr_and_type(ifp, NULL, 0, IFT_IEEE8023ADLAG);
2224 if (new_array != NULL) {
2289 if (p == NULL) {
2319 if (head_port == NULL) {
2335 event_code = (ifb->ifb_active_lag == NULL)
2353 ifnet_set_lladdr_and_type(ifp, NULL, 0, IFT_IEEE8023ADLAG);
2473 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2475 return ((ifb == NULL) ? EOPNOTSUPP : EBUSY);
2497 event_code = (ifb->ifb_active_lag == NULL)
2626 if (TAILQ_FIRST(&ifb->ifb_port_list) != NULL) {
2673 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2674 error = (ifb == NULL) ? EOPNOTSUPP : EBUSY;
2681 if (ifnet_softc(ifp) == NULL || ifbond_flags_if_detaching(ifb)) {
2740 struct ifnet * port_ifp = NULL;
2758 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2760 return (ifb == NULL ? EOPNOTSUPP : EBUSY);
2769 if (ifb->ifb_active_lag != NULL) {
2798 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2800 error = (ifb == NULL) ? EOPNOTSUPP : EBUSY;
2812 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2814 error = (ifb == NULL) ? EOPNOTSUPP : EBUSY;
2841 if (port_ifp == NULL) {
2867 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2869 return (ifb == NULL ? EOPNOTSUPP : EBUSY);
2876 if (g_bond == NULL) {
2920 if (ifb == NULL || ifbond_flags_if_detaching(ifb)) {
2922 return (ifb == NULL ? EOPNOTSUPP : EBUSY);
2958 if (ifp == NULL) {
2963 if (ifb == NULL) {
2977 struct ifnet * bond_ifp = NULL;
3001 if (p == NULL) {
3022 event_code = (ifb->ifb_active_lag == NULL)
3030 event_code = (ifb->ifb_active_lag == NULL)
3063 if (bond_ifp != NULL) {
3230 return (NULL);
3242 LAG_ref lag = NULL;
3249 if (bond->ifb_active_lag != NULL) {
3251 bond->ifb_active_lag = NULL;
3254 if (lag != NULL) {
3259 else if (lag != NULL) {
3271 if (lag != NULL) {
3276 if (lag != NULL && p->po_lag == lag
3299 bondport_mux_machine(p, LAEventSelectedChange, NULL);
3304 bondport_mux_machine(p, LAEventReady, NULL);
3306 bondport_transmit_machine(p, LAEventStart, NULL);
3315 LAG_ref best_lag = NULL;
3320 if (bond->ifb_active_lag != NULL) {
3356 return (NULL);
3418 if (bond->ifb_max_active <= 0 || lag == NULL) {
3446 if (bond->ifb_active_lag == NULL) {
3489 return (NULL);
3548 && bond->ifb_active_lag != NULL
3561 bondport_receive_machine(p, LAEventMediaChange, NULL);
3562 bondport_mux_machine(p, LAEventMediaChange, NULL);
3563 bondport_periodic_transmit_machine(p, LAEventMediaChange, NULL);
3586 if (p->po_lag == NULL) {
3630 if (lag == NULL) {
3642 p->po_lag = NULL;
3657 bond->ifb_active_lag = NULL;
3691 if (lag != NULL) {
3699 if (lag != NULL) {
3729 if (moved_port != NULL) {
3730 bondport_receive_machine(moved_port, LAEventPortMoved, NULL);
3746 if (lag != NULL && bond->ifb_active_lag == lag) {
4018 bondport_receive_machine_initialize(p, LAEventStart, NULL);
4059 bondport_receive_machine_port_disabled(p, LAEventMediaChange, NULL);
4066 bondport_receive_machine_port_disabled(p, LAEventStart, NULL);
4092 bondport_receive_machine_port_disabled(p, LAEventStart, NULL);
4120 bondport_receive_machine_expired(p, LAEventStart, NULL);
4123 bondport_receive_machine_lacp_disabled(p, LAEventStart, NULL);
4139 (void *)LAEventTimeout, NULL);
4156 bondport_receive_machine_initialize(p, LAEventStart, NULL);
4191 (void *)LAEventTimeout, NULL);
4195 bondport_receive_machine_defaulted(p, LAEventStart, NULL);
4285 (void *)LAEventTimeout, NULL);
4288 bondport_receive_machine_expired(p, LAEventStart, NULL);
4354 (void *)LAEventTimeout, NULL);
4368 (void *)LAEventTimeout, NULL);
4395 if (next_secs != NULL) {
4434 (void *)LAEventTimeout, NULL);
4450 if (pkt == NULL) {
4527 bondport_mux_machine_detached(p, LAEventStart, NULL);
4576 bondport_mux_machine_waiting(p, LAEventStart, NULL);
4603 bondport_mux_machine_detached(p, LAEventStart, NULL);
4647 (void *)LAEventTimeout, NULL);
4663 bondport_mux_machine_attached(p, LAEventStart, NULL);
4700 NULL);
4704 bondport_mux_machine_detached(p, LAEventStart, NULL);
4737 bondport_mux_machine_attached(p, LAEventStart, NULL);
4743 bondport_mux_machine_attached(p, LAEventStart, NULL);