# US 8,578,013 B2 · Donor/borrower incident notification for daemons

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,578,013 B2
- Document ID: US8578013B2
- Status: Granted
- Kind: B2
- Application number: 13/563,400
- Filed: 2012-07-31
- Published: 2012-11-22
- Granted: 2013-11-05
- Earliest claimed: 2008-11-04
- Assignees: Juniper Networks, Inc.
- Applicants: Kaushik Ghosh; Bharani Chadalavada; Vinay Nallamothu
- Inventors: Kaushik Ghosh; Bharani Chadalavada; Vinay Nallamothu
- Web page: https://patentgrep.com/patent/US8578013B2

## CPC

- H04L 61/50: Address allocation
- H04L 61/5007: Internet protocol [IP] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A device may include a donor to maintain a pool of addresses; a group of borrowers to obtain addresses from the donor; a daemon that has registered an interest in one or more borrowers in the group of borrowers; and a library to maintain first relationships between donors and borrowers that have obtained addresses from the donors, maintain second relationships between daemons and borrowers in which the daemons have registered an interest, receive a notification regarding an incident associated with the donor, identify, in response to the notification, the group of borrowers based on the first relationships, determine that the daemon has registered an interest in the one or more borrowers in the group of borrowers based on the second relationships, and output, to the daemon, a notification regarding the incident associated with the donor.

## Claims

### Claim 1

A method comprising:
registering, by a first device and based on receiving a first registration request from a second device, an interest in a first interface associated with the first device;
identifying, by the first device and based on registering the interest, a first relationship between the first interface and a second interface associated with the first device and a second relationship between the second device and the first interface,
the first relationship identifying that the first interface is associated with an address that is associated with the second interface,
the second interface being associated with a third device that maintains a pool of addresses,
the pool of addresses including the address, and
the first interface being associated with a fourth device that borrows the address from the third device;
receiving, by the first device, a second registration request from the second device,
the second registration request identifying a function to be called when the second device is notified of an occurrence of a first event that affects the first interface;
modifying, by the first device, the second relationship based on the second registration request;
detecting, by the first device, an occurrence of a second event associated with the second interface;
notifying, by the first device, the second device of the occurrence of the second event based on the first relationship; and
calling, by the first device, the function based on the second relationship when notifying the second device of the occurrence of the second event.

### Claim 2 (depends on 1)

The method of claim 1, where identifying the first relationship includes:
determining that the first interface obtains the address from the second interface, and
identifying the first relationship based on the first interface obtaining the address.

### Claim 3 (depends on 1)

The method of claim 1, where detecting the occurrence of the second event includes:
receiving a notification from a third device,
the third device being located in an address space that is different from an address space associated with the second device, and
detecting the occurrence of the second event based on the notification.

### Claim 4 (depends on 1)

The method of claim 1, where the second event comprises:
a change of a protocol associated with the second interface, or
an address change associated with the second interface.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving a third registration request from the second device,
the third registration request indicating that the interest is no longer to be registered in the first interface; and
modifying the second relationship based on the third registration request.

### Claim 6 (depends on 1)

The method of claim 1, where the first registration request identifies a memory location storing a set of parameters to be transmitted to the second upon the occurrence of the first event, and
where notifying the second device of the occurrence of the second event includes:
transmitting the set of parameters to the daemon based on the first relationship.

### Claim 7

A device comprising:
a processor to:
register, based on receiving a first registration request from a daemon, an interest in a first interface of the device,
identify, based on registering the interest, a first relationship between the first interface and a second interface of the device and a second relationship between the daemon and the first interface,
the first relationship identifying that the first interface is associated with an address that is associated with the second interface,
the second interface being associated with a donor that maintains a pool of addresses,
the pool of addresses including the address, and
the first interface being associated with a borrower that obtains the address from the donor,
receive a second registration request from the daemon,
the second registration request identifying a function to be called when the daemon is notified of an occurrence of a first event that affects the first interface,
modify the second relationship based on the second registration request,
detect an occurrence of a second event associated with the second interface,
notify the daemon of the occurrence of the second event based on the first relationship, and
call the function based on the second relationship when notifying the daemon of the occurrence of the second event.

### Claim 8 (depends on 7)

The device of claim 7, where, when identifying the first relationship, the processor is further to:
determine that the first interface obtains the address from the second interface, and
identify the first relationship based on the first interface obtaining the address.

### Claim 9 (depends on 7)

The device of claim 7, where, when detecting the occurrence of the second event, the processor is to:
receive a notification from a kernel that is located in an address space that is different from an address space associated with the daemon, and
detect the occurrence of the second event based on the notification.

### Claim 10 (depends on 7)

The device of claim 7, where the second event comprises:
a change of a protocol associated with the second interface, or
an address change associated with the second interface.

### Claim 11 (depends on 7)

The device of claim 7, where the processor is further to:
receive a third registration request from the daemon,
the third registration request indicating that the interest is not to be registered in the first interface, and
modify the second relationship based on the third registration request.

### Claim 12 (depends on 7)

The device of claim 7, where the donor is associated with a plurality of interfaces of the device,
the plurality of interfaces including the first interface, and
each of the plurality of interfaces being associated with a corresponding one of the pool of addresses.

### Claim 13 (depends on 7)

The device of claim 7, where the first registration request includes information identifying a memory location that contains a set of parameters to be transmitted to the daemon upon the occurrence of the first event, and
where, when notifying the daemon of the occurrence of the second event, the processor is to:
transmit the set of parameters to the daemon based on the first relationship.

### Claim 14

A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by a processor, cause the processor to:
register an interest in a first interface based on receiving a first registration request from a daemon,
identify, based on registering the interest, a first relationship between the first interface and a second interface and a second relationship between the daemon and the first interface,
the first relationship identifying that the first interface is associated with an Internet protocol (IP) address that is maintained by the second interface,
the second interface being associated with a donor that maintains a plurality of IP addresses,
the plurality of IP addresses including the IP address, and
the first interface being associated with a borrower that obtains the IP address from the donor,
receive a second registration request from the daemon,
the second registration request identifying a function to be called when the daemon is notified of an occurrence of a first event that affects the first interface,
modify the second relationship based on the second registration request,
detect an occurrence of a second event associated with the second interface,
notify the daemon of the occurrence of the second event based on the first relationship, and
call the function based on the second relationship when notifying the daemon of the occurrence of the second event.

### Claim 15 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the one or more instructions to identify the first relationship include:
one or more instructions that, when executed by the processor, cause the processor to:
determine that the first interface obtains the IP address from the second interface, and
identify the first relationship based on the first interface obtaining the IP address.

### Claim 16 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the one or more instructions to detect the occurrence of the second event include:
one or more instructions that, when executed by the processor, cause the processor to:
receive a notification from a kernel that is located in an address space that is different from an address space associated with the daemon, and
detect the occurrence of the second event based on the notification.

### Claim 17 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the second event comprises a change of a protocol associated with the second interface.

### Claim 18 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the instructions further comprise:
one or more instructions that, when executed by the processor, cause the processor to:
receive a third registration request from the daemon,
the third registration request indicating that the interest is not to be registered in the first interface, and
modify the second relationship based on the third registration request.

### Claim 19 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the donor is associated with a plurality of interfaces,
the plurality of interfaces including the first interface, and
each of the plurality of interfaces being associated with a corresponding one of the plurality of IP addresses.

### Claim 20 (depends on 14)

The non-transitory computer-readable medium of claim 14, where the first registration request includes an argument that includes a pointer to a memory location that contains a set of parameters to be transmitted to the daemon upon the occurrence of the second event, and
where the one or more instructions to notify the daemon of the occurrence of the first event include:
one or more instructions that, when executed by the processor, cause the processor to transmit the set of parameters to the daemon based on the occurrence of the second event and the first relationship.
