<p>This PR adds support for classless static route option (<a rel="nofollow" href="https://tools.ietf.org/rfc/rfc3442.txt">https://tools.ietf.org/rfc/rfc3442.txt</a>) and is a follow-up of PR <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="287791746" data-permission-text="Issue title is private" data-url="https://github.com/ipxe/ipxe/issues/67" data-hovercard-type="pull_request" data-hovercard-url="/ipxe/ipxe/pull/67/hovercard" href="https://github.com/ipxe/ipxe/pull/67">#67</a>.<br>
I refactored it using <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/multun/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/multun">@multun</a> s <a href="https://github.com/ipxe/ipxe/pull/67#pullrequestreview-116469263" data-hovercard-type="pull_request" data-hovercard-url="/ipxe/ipxe/pull/67/hovercard">review</a>.</p>
<p>I appreciate your comments and feedback.</p>
<p>Signed-off-by: Raphael Pour <a href="mailto:info@raphaelpour.de">info@raphaelpour.de</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/ipxe/ipxe/pull/104'>https://github.com/ipxe/ipxe/pull/104</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>[dhcp/ipv4] Support for DHCP option 121: Classless static route option</li>
  <li>[dhcp/ipv4] Refactor static route address conversion</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-0">src/include/ipxe/dhcp.h</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-1">src/include/ipxe/dhcpopts.h</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-2">src/include/ipxe/ip.h</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-3">src/include/ipxe/netdevice.h</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-4">src/net/dhcpopts.c</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-5">src/net/ipv4.c</a>
    (91)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/ipxe/ipxe/pull/104/files#diff-6">src/net/udp/dhcp.c</a>
    (22)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/ipxe/ipxe/pull/104.patch'>https://github.com/ipxe/ipxe/pull/104.patch</a></li>
  <li><a href='https://github.com/ipxe/ipxe/pull/104.diff'>https://github.com/ipxe/ipxe/pull/104.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ipxe/ipxe/pull/104?email_source=notifications&email_token=AAFNGVHAZWJ5YREE42T47KLQ6AL4DA5CNFSM4KHQCBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGSJ6TA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAFNGVB7A62UD3FDRU6RLX3Q6AL4DANCNFSM4KHQCBCA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAFNGVESI6PK6YJN6I72LZLQ6AL4DA5CNFSM4KHQCBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGSJ6TA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ipxe/ipxe/pull/104?email_source=notifications\u0026email_token=AAFNGVHAZWJ5YREE42T47KLQ6AL4DA5CNFSM4KHQCBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGSJ6TA",
"url": "https://github.com/ipxe/ipxe/pull/104?email_source=notifications\u0026email_token=AAFNGVHAZWJ5YREE42T47KLQ6AL4DA5CNFSM4KHQCBCKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGSJ6TA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>