rtsock.c (62f76486821669cfb9ceafa372dcdc7eb15d4e3c) | rtsock.c (93b0017f88462f9af15368440324aa3be58eb18f) |
---|---|
1/* 2 * Copyright (c) 1988, 1991, 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 --- 429 unchanged lines hidden (view full) --- 438 } 439 } 440 rt_setmetrics(rtm->rtm_inits, &rtm->rtm_rmx, 441 &rt->rt_rmx); 442 if (rt->rt_ifa && rt->rt_ifa->ifa_rtrequest) 443 rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, &info); 444 if (genmask) 445 rt->rt_genmask = genmask; | 1/* 2 * Copyright (c) 1988, 1991, 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 --- 429 unchanged lines hidden (view full) --- 438 } 439 } 440 rt_setmetrics(rtm->rtm_inits, &rtm->rtm_rmx, 441 &rt->rt_rmx); 442 if (rt->rt_ifa && rt->rt_ifa->ifa_rtrequest) 443 rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, &info); 444 if (genmask) 445 rt->rt_genmask = genmask; |
446 /* 447 * Fall into 448 */ | 446 /* FALLTHROUGH */ |
449 case RTM_LOCK: 450 rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); 451 rt->rt_rmx.rmx_locks |= 452 (rtm->rtm_inits & rtm->rtm_rmx.rmx_locks); 453 break; 454 } 455 break; 456 --- 605 unchanged lines hidden --- | 447 case RTM_LOCK: 448 rt->rt_rmx.rmx_locks &= ~(rtm->rtm_inits); 449 rt->rt_rmx.rmx_locks |= 450 (rtm->rtm_inits & rtm->rtm_rmx.rmx_locks); 451 break; 452 } 453 break; 454 --- 605 unchanged lines hidden --- |